Skip to content

Commit

Permalink
Merge pull request #9 from dcSpark/master-fix
Browse files Browse the repository at this point in the history
Deploy pages only when pushed to master
  • Loading branch information
GrzegorzDrozda authored Aug 8, 2023
2 parents 8c9ce2d + 7d915cb commit 482c7e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
pull_request:

jobs:
deploy:
Expand All @@ -22,6 +23,7 @@ jobs:
- run: npm run build

- name: Deploy
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 482c7e9

Please sign in to comment.