Skip to content

Commit

Permalink
Add nois-site deployment trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanjermakov committed Mar 17, 2024
1 parent 0e7f313 commit 962013c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,16 @@ jobs:
- name: npm ci
run: |
npm run ci
deploy:
runs-on: ubuntu-latest

needs: ci
if: github.ref == 'refs/heads/master' && success()

steps:
- name: Post Netlify hook
env:
NETLIFY_BUILD_HOOK: ${{ secrets.NETLIFY_BUILD_HOOK }}
run: |
curl -X POST -d {} $NETLIFY_BUILD_HOOK

0 comments on commit 962013c

Please sign in to comment.