Skip to content

Commit

Permalink
Fetch master branch before checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Apr 23, 2020
1 parent 4c8133c commit 37c5ae1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
run: echo "::set-env name=BETA::true"

- name: Use scripts and templates from master branch
run: git checkout master -- .github/deploy.sh util/gh-pages/ util/*.py
run: |
git fetch --no-tags --prune --depth=1 origin master
git checkout master -- .github/deploy.sh util/gh-pages/ util/*.py
- name: Deploy
run: |
Expand Down

0 comments on commit 37c5ae1

Please sign in to comment.