Skip to content

Commit

Permalink
ci: Add deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
castus committed Oct 28, 2023
1 parent 8e477df commit 3b7ec0a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,10 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Deploy to ArgoCD
run: |
curl -X POST https://api.github.com/repos/c4stus/lights-api-charts/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-u ${{ secrets.CHARTS_DEPLOY_TOKEN }} \
--data '{"event_type": "deploy", "client_payload": { "image_tag": "'"${{ steps.meta.outputs.tags }}"'" }}'

0 comments on commit 3b7ec0a

Please sign in to comment.