Skip to content

GitHub action for executing Argo CD 🦑

License

Notifications You must be signed in to change notification settings

GetDutchie/argocd-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub action for executing Argo CD 🦑

Usage

See the ArgoCD CLI documentation for the list of available commands and options.

- uses: GetDutchie/argocd-action/@main
  with:
    version: 2.5.5
    command: version
    options: --client

With GitHub API authentication

If you are running a lot of workflows/jobs quite frequently, you may run into GitHub's API rate limit due to pulling the CLI from the ArgoCD repository. To get around this limitation, add the GITHUB_TOKEN as shown below (or see here for more examples) to utilize a higher rate limit when authenticated.

- uses: GetDutchie/argocd-action/@main
  env:
    # Only required for first step in job where API is called
    # All subsequent setps in a job will not re-download the CLI
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  with:
    command: version
    options: --client
- uses: GetDutchie/argocd-action/@main
  # CLI has already been downloaded in prior step, no call to GitHub API
  with:
    command: version
    options: --client

About

GitHub action for executing Argo CD 🦑

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%