diff --git a/.forgejo/workflows/functions.yml b/.forgejo/workflows/functions.yml index 42bed28..ec4f131 100644 --- a/.forgejo/workflows/functions.yml +++ b/.forgejo/workflows/functions.yml @@ -10,6 +10,12 @@ jobs: - name: Setup `spin` uses: fermyon/actions/spin/setup@v1 + - name: Setup argocd CLI + run: | + curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-$(uname -m) + chmod +x /usr/local/bin/argocd + argocd version --client + - name: Setup Go 1.23.x uses: actions/setup-go@v5 with: @@ -37,16 +43,9 @@ jobs: working-directory: comics - name: Upsert Argo App - uses: clowdhaus/argo-cd-action@v2.2.0 - with: - command: app create functions - options: -f deploy/argo-app.yaml --upsert --server argo-cd-argocd-server.argo-system.svc --auth-token ${{ secrets.ARGOCD_TOKEN }} --plaintext - version: "2.13.3" - env: - GITHUB_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }} + run: | + argocd app create functions -f deploy/argo-app.yaml --upsert --server argo-cd-argocd-server.argo-system.svc --auth-token ${{ secrets.ARGOCD_TOKEN }} --plaintext --assumeYes - name: Deploy KubeSpin apps - uses: clowdhaus/argo-cd-action@v2.2.0 - with: - command: app sync functions - options: --assumeYes --server argo-cd-argocd-server.argo-system.svc --auth-token ${{ secrets.ARGOCD_TOKEN }} --plaintext + run: | + argocd app sync functions --server argo-cd-argocd-server.argo-system.svc --auth-token ${{ secrets.ARGOCD_TOKEN }} --plaintext --assumeYes