Skip to content

Commit cdd506e

Browse files
authored
Merge pull request #437 from devsetgo/dev
updates to deal with stashing pages
2 parents 170b799 + 935ad2e commit cdd506e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build_mkdocs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,19 @@ jobs:
4545
git config --global user.name "github-actions[bot]"
4646
git config --global user.email "github-actions[bot]@users.noreply.github.com"
4747
48+
- name: Stash changes
49+
run: git stash --include-untracked
50+
4851
- name: Pull latest gh-pages
4952
run: |
5053
git fetch origin gh-pages
5154
git checkout gh-pages
5255
git pull origin gh-pages
5356
git checkout -
5457
58+
- name: Apply stash
59+
run: git stash pop
60+
5561
- name: Deploy to GitHub Pages
5662
run: mkdocs gh-deploy --force
5763
env:

0 commit comments

Comments
 (0)