Skip to content

Commit 0859e76

Browse files
authored
Add deploy conditional back
1 parent 89fe389 commit 0859e76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
token: "${{ secrets.GITHUB_TOKEN }}"
2020
- run: /tmp/zola build -u https://xampprocky.github.io/blog.rust-lang.org
2121
- uses: JamesIves/github-pages-deploy-action@releases/v3
22+
if: github.ref == 'refs/heads/master'
2223
with:
2324
ACCESS_TOKEN: ${{ github.SECRET_TOKEN }}
2425
BRANCH: gh-pages

0 commit comments

Comments
 (0)