Skip to content

Merge pull request #1 from isontheline/link-readme-doc #11

Merge pull request #1 from isontheline/link-readme-doc

Merge pull request #1 from isontheline/link-readme-doc #11

Workflow file for this run

name: Update dRAGon Documentation
on:
push:
branches: [ main ]
jobs:
deploy_mkdocs_content:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/issues/10#issuecomment-585752881
# Number of commits to fetch. 0 indicates all history.
# Default: 1
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: 'x64'
- run: pip install mkdocs=="1.4.3"
- run: pip install mkdocs-material=="9.0.4"
- run: pip install mkdocs-git-revision-date-localized-plugin
- run: pip install mkdocs-redirects
- run: cd docs; mkdocs build --clean
- run: echo "dragon.okinawa" > docs/site/CNAME
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/site