Skip to content

FIX CI

FIX CI #211

Workflow file for this run

name: deploy-gh-pages
on:
push: {branches: [main]}
pull_request: {branches: [main]}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Generate schemas
run: python -m bsmschema specification/schema/
- name: Build
run: jb build -W specification
- uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: specification/_build/html