Fix: refer to general and special CG meetings (#318) #174
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
# Workflow for processing and publishing bikeshed proposals to github pages | |
name: publish proposals | |
on: | |
push: | |
# only concerned with changes in the main branch | |
branches: [ main ] | |
# only invoke when a bikeshed document is updated | |
# paths: [ '*.bs' ] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2.2.0 | |
- name: setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: upgrade pip | |
run: python3 -m pip install --upgrade pip | |
- name: install bikeshed | |
run: | | |
python3 -m pip install --upgrade bikeshed | |
bikeshed update | |
- name: run bikeshed | |
run: | | |
bikeshed spec proposals/specification/index.bs | |
bikeshed spec proposals/primer/application.bs | |
bikeshed spec proposals/primer/authorization-agent.bs | |
- name: generate svg | |
run: for diagram in proposals/*/diagrams/*.seq.mmd; do docker run --rm -v "$PWD:/data" minlag/mermaid-cli -i /data/$diagram; done | |
- name: generate png | |
run: for diagram in proposals/*/diagrams/*.flow.mmd; do docker run --rm -v "$PWD:/data" minlag/mermaid-cli -i /data/$diagram -o /data/$diagram.png; done | |
- name: deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
publish_dir: ./proposals | |
personal_token: ${{ secrets.GITHUB_TOKEN }} |