We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 005ad1d commit 4e52a0cCopy full SHA for 4e52a0c
.github/workflows/deploy.yml
@@ -39,7 +39,7 @@
39
# github_token: ${{ secrets.GITHUB_TOKEN }}
40
# publish_dir: workshop/site
41
42
-name: Build and Deploy MkDocs Site into /docs
+name: Deploy MkDocs site to GitHub Pages
43
44
on:
45
push:
@@ -64,8 +64,12 @@ jobs:
64
pip install mkdocs-material mkdocs-jupyter
65
66
- name: Build and move site to /docs
67
+ working-directory: docs/workshop
68
run: |
- cd workshop
69
mkdocs build
70
- rm -rf ../docs/*
71
- cp -r site/* ../docs/
+ rm -rf ../../site-deploy-temp/
+ mkdir -p ../../site-deploy-temp/
72
+ cp -r site/* ../../site-deploy-temp/
73
+ rm -rf ../../*
74
+ mkdir ../../docs
75
+ cp -r ../../site-deploy-temp/* ../../docs/
0 commit comments