Skip to content

Merge branch 'source' of https://github.com/monarc-project/monarc-pro… #210

Merge branch 'source' of https://github.com/monarc-project/monarc-pro…

Merge branch 'source' of https://github.com/monarc-project/monarc-pro… #210

Workflow file for this run

name: Publish website
on:
push:
branches:
- source # default branch with the source code of the website
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Install dependencies
run: |
pip install poetry lxml
poetry install
poetry run make html
poetry run ghp-import output
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
publish_branch: master # deploying branch