Skip to content

Commit

Permalink
ci: auto deploy to staging server
Browse files Browse the repository at this point in the history
  • Loading branch information
paring-chan committed Jun 16, 2024
1 parent 27eff92 commit 96fc51d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Deploy
on:
workflow_run:
workflows: ["Docker"]
types:
- completed

jobs:
staging:
name: Deploy Staging
if: github.ref == 'refs/heads/master'
steps:
- uses: newarifrh/portainer-service-webhook@v1
with:
webhook_url: ${{ secrets.STAGING_DEPLOY_WEBHOOK }}

0 comments on commit 96fc51d

Please sign in to comment.