mirror of
https://github.com/spacebarchat/docs.git
synced 2024-11-22 10:12:31 +01:00
🐛 fix build deploy action script
This commit is contained in:
parent
ff8b47428e
commit
adc8ac4ab6
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -3,7 +3,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
@ -13,4 +13,9 @@ jobs:
|
||||
with:
|
||||
python-version: 3.x
|
||||
- run: pip install mkdocs-material mkdocs-section-index
|
||||
- run: mkdocs gh-deploy --force
|
||||
- run: mkdocs build
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@4.1.3
|
||||
with:
|
||||
branch: gh-pages # The branch the action should deploy to.
|
||||
folder: site # The folder the action should deploy.
|
||||
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
site/
|
||||
.DS_STORE
|
Loading…
Reference in New Issue
Block a user