Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
An interesting feature of ArgoCD is the Pull Request Generator. It's a generator for ApplicationSet. An ApplicationSet is a template of ArgoCD Application associated with a generator. Generator can be a directory: an application will be created for every sub-folder. There is also the Cluster generator that deploy the same Application but in every cluster managed by ArgoCD.
First step is to create a token to access the frontend repository.
For a better user experience, we can setup a webhook that will notify ArgoCD when something changes on Github. This webhook needs to be defined in the source code repository, where pull requests are created. Go to the repository "Settings" and then "Webhooks". Click on the "Add webhook" button.