Update .github/workflows/deploy-pages.yml
This commit is contained in:
5
.github/workflows/deploy-pages.yml
vendored
5
.github/workflows/deploy-pages.yml
vendored
@@ -38,7 +38,9 @@ jobs:
|
||||
run: pip3 install mkdocs-material
|
||||
|
||||
- name: copy config
|
||||
run: cp docs/mkdocs.yml .
|
||||
run: |
|
||||
mv docs/.git .
|
||||
mv docs/mkdocs.yml .
|
||||
- name: Build Jupyter Book
|
||||
run: mkdocs build --site-dir public
|
||||
|
||||
@@ -55,7 +57,6 @@ jobs:
|
||||
cd deploy
|
||||
git checkout --orphan gitea-pages
|
||||
git reset --hard
|
||||
rm -rf ../public/.git
|
||||
cp -r ../public/* .
|
||||
git add --all
|
||||
git commit -m "Deploy site"
|
||||
|
||||
Reference in New Issue
Block a user