DeployNow
...
Advanced Deployment Options
CI/CD with GitHub Actions

ArgoCD Sync Action

a github action managed by opsverse syncs an application in argocd usage example workflow this example syncs an argocd application name deploynow sync workflow on \[ push, pull request ] jobs build runs on ubuntu latest steps \ uses actions/checkout\@v2 \ name sync argocd application uses opsverseio/argocd sync\@0 2 0 with address ${{ secrets argocd server }} token ${{ secrets argocd token }} action sync appname "my example app" disabletlsverification "false" # default is false only enable this if argocd doesn't have tls / has self signed certificate / you see any sort of x509 errors inputs input description address argocd server address token argocd token action argocd action for instance sync appname application name to execute the action on disabletlsverification skip tls validation this flag should be used if the cert manager has a self signed certificate or if there are any you see any sort of x509 errors examples sync an application to sync an application in deploynow instance automatically ( without any manual intervention ), use the following example name sync argocd app on push branches \ main jobs build runs on ubuntu latest steps \ uses actions/checkout\@v2 \ name sync argocd application uses opsverseio/argocd sync\@0 2 0 with address ${{ secrets argocd server }} token ${{ secrets argocd token }} action sync appname "my example app" disabletlsverification "false" # default is false only enable this if argocd doesn't have tls / has self signed certificate / you see any sort of x509 errors the aforementioned example triggers an argocd sync whenever a new commit happens to main branch (via a pr or directly) it is recommended to give parameters like argocd server and argocd token as repo secrets directly committing the raw secrets to github is not a good security measure