chore(data): daily parsing #659
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: "Publish plots to GitHub Page" | |
on: | |
push: | |
branches: | |
- 'accumulate-data' | |
workflow_dispatch: | |
jobs: | |
plot: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@main | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.ref }} | |
- name: Set up Python 3.9 | |
uses: actions/[email protected] | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install -U pip poetry invoke | |
inv env.init-dev | |
- name: Build docs | |
run: | | |
inv doc.build --no-local | |
- name: Push documentation to Github Page | |
uses: peaceiris/[email protected] | |
with: | |
personal_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
publish_branch: gh-pages | |
publish_dir: ./site |