ci(mkdocs): use github-pages-deploy-action to deploy docs

This commit is contained in:
Rémi Alvergnat
2020-12-27 23:09:07 +01:00
parent 2e1f29ca47
commit 9ceb019c29
2 changed files with 13 additions and 2 deletions
+12 -2
View File
@@ -11,5 +11,15 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
- run: pip install mkdocs mkdocs-material
- run: mkdocs build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: site
CLEAN: true
SINGLE_COMMIT: true
+1
View File
@@ -0,0 +1 @@
doc.guessit.io