Skip to content

Commit

Permalink
chore: add deploy webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo930021 committed Mar 31, 2024
1 parent c9722fa commit a1cb6b2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4
- name: Set up Docker Buildx 🛠
uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry 🚀
- name: Log in to the Container registry 🔑
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
Expand All @@ -40,4 +40,10 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Trigger deploy webhook 🚀
env:
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
WEBHOOK_TOKEN: ${{ secrets.WEBHOOK_TOKEN }}
run: |
curl "$WEBHOOK_URL" -H "Authorization: Bearer $WEBHOOK_TOKEN"

0 comments on commit a1cb6b2

Please sign in to comment.