Skip to content

Commit 295042b

Browse files
committed
working on issue for deployment
1 parent ea56445 commit 295042b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/build_mkdocs.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,20 @@ jobs:
4040
- name: Copy CHANGELOG to docs/release-notes.md
4141
run: cp CHANGELOG.md docs/release-notes.md
4242

43+
- name: Configure git
44+
run: |
45+
git config --global user.name "github-actions[bot]"
46+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
47+
48+
- name: Pull latest gh-pages
49+
run: |
50+
git fetch origin gh-pages
51+
git checkout gh-pages
52+
git pull origin gh-pages
53+
git checkout -
54+
4355
- name: Deploy to GitHub Pages
44-
run: mkdocs gh-deploy
56+
run: mkdocs gh-deploy --force
4557
env:
4658
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4759

0 commit comments

Comments
 (0)