Skip to content

Commit

Permalink
feat: add deployment hook
Browse files Browse the repository at this point in the history
  • Loading branch information
gregfrasco committed Nov 25, 2024
1 parent fc30f9d commit 67871be
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,12 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max

- name: Push to Production
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: fjogeleit/http-request-action@v1
with:
method: "POST"
url: ${{ secrets.PORTAINER_WEBHOOK }}
preventFailureOnNoResponse: true

0 comments on commit 67871be

Please sign in to comment.