Merge pull request #3642 from Tangerine-Community/release/v3.30.1 #632
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
name: Build Documentation using MkDocs | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the main branch | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
name: Build and Deploy Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Master | |
uses: actions/checkout@v2 | |
- name: copy changelog to whatsnew | |
uses: canastro/copy-file-action@master | |
with: | |
source: "CHANGELOG.md" | |
target: "docs/whats-new.md" | |
- name: Build and Deploy Documentation using MkDocs | |
uses: mhausenblas/mkdocs-deploy-gh-pages@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
REQUIREMENTS: mkdocs-requirements.txt |