Include releases info #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO | |
name: Create Ro-DOU documentation pages with MkDocs | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'docs/**' | |
- 'CHANGELOG.md' | |
jobs: | |
build_and_push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Move file to target directory | |
run: cp -f CHANGELOG.md docs/docs/changelog/changelog.md | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: pip install mkdocs | |
- name: Build MkDocs site | |
run: mkdocs gh-deploy --force -f docs/mkdocs.yml -b gh-pages |