Skip to content

Commit

Permalink
ensuring deploy only happens on master
Browse files Browse the repository at this point in the history
  • Loading branch information
debeshmandal authored Oct 21, 2020
1 parent f102f91 commit c2d17cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
make -C docs/ html
touch docs/_build/html/.nojekyll
- name: Deploy 🚀
if: github.ref == "refs/heads/master"
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit c2d17cc

Please sign in to comment.