This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
Merge pull request #22 from HolgerKnublauch/main #5
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 HTML and publish it to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- run: python3 -m pip install --upgrade pip | |
- run: python3 -m pip install --upgrade bikeshed && bikeshed update | |
- run: mkdir public | |
- run: bikeshed spec index.bs public/index.html | |
- uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./public |