Skip to content

Commit

Permalink
Create action to redeploy site when releases change
Browse files Browse the repository at this point in the history
  • Loading branch information
tbodt authored Jun 5, 2020
1 parent daf09f7 commit 0c71792
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Deploy Site
on:
release:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Trigger Deploy
run: curl -d {} $NETLIFY_DEPLOY_HOOK
env:
NETLIFY_DEPLOY_HOOK: ${{ secrets.NETLIFY_DEPLOY_HOOK }}

0 comments on commit 0c71792

Please sign in to comment.