Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include more detailed example #30

Open
rojomisin opened this issue Jul 25, 2024 · 0 comments
Open

include more detailed example #30

rojomisin opened this issue Jul 25, 2024 · 0 comments

Comments

@rojomisin
Copy link

Just trying to get going using this and the example is too simple

Would be helpful to include a working example and references on how to create an argocd service account and token using rbac, and a perhaps another example which includes an auth action using that against a server

      - uses: clowdhaus/argo-cd-action/@main
        env:
          ARGOCD_AUTH_TOKEN: ${{ secrets.ARGOCD_AUTH_TOKEN }}
          ARGOCD_SERVER: ${{ secrets.ARGOCD_SERVER }}
        with:
          command: app list
          options: |
            --auth-token ${ARGOCD_AUTH_TOKEN}
            --server ${ARGOCD_SERVER}

I'm still debugging blank variables in GH actions, but if someone has a working example please post ty 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant