diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 7636c357..5e9d11f7 100755 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -61,3 +61,13 @@ jobs: tags: | dragon-bot/dale-bot:latest dragon-bot/dale-bot:${{ gitea.run_id }} + sync-argocd-app: + needs: changes + if: ${{ needs.changes.outputs.python_files == 'true' || needs.changes.outputs.helm == 'true' }} + steps: + - name: Sync app in ArgoCD + uses: clowdhaus/argo-cd-action/@main + with: + version: 2.6.7 + command: app + options: --insecure --server 192.168.1.205 --auth-token ${{ secrets.ARGOCD_TOKEN }} --set dragon-bot --helm-set image.tag=${{ gitea.run_id }}