Skip to content

Commit

Permalink
ci(mkdocs): use github-pages-deploy-action to deploy docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed Dec 27, 2020
1 parent 2e1f29c commit 9ceb019
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/mkdocs.yml
Expand Up @@ -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 change: 1 addition & 0 deletions docs/CNAME
@@ -0,0 +1 @@
doc.guessit.io

0 comments on commit 9ceb019

Please sign in to comment.