Added Simulation Repo links to Community Reports (#35) #57
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: FLINT Handbook | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-deploy-handbook: | |
runs-on: ubuntu-latest | |
name: Build & Deploy Handbook | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
pip install -U sphinx | |
pip install -r requirements.txt | |
- name: Build Handbook | |
uses: ammaraskar/sphinx-action@master | |
with: | |
docs-folder: "." | |
- name: Set-up Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "10.x" | |
- name: Deploy Handbook | |
uses: peaceiris/actions-gh-pages@v3 | |
if: github.event_name != 'pull_request' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: _build/html |