Skip to content

AGV reproducible parse_crossings (#173) #204

AGV reproducible parse_crossings (#173)

AGV reproducible parse_crossings (#173) #204

Workflow file for this run

name: Docs
on:
push:
branches: [main]
paths-ignore: [".teamcity/**"]
pull_request:
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
publish:
name: Docs
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Ribasim-NL
uses: actions/checkout@v4
with:
path: Ribasim-NL
# Ribasim needs to be checked out next to this repo even for the prod environment
- name: Checkout Ribasim
uses: actions/checkout@v4
with:
repository: Deltares/Ribasim
path: Ribasim
- uses: prefix-dev/[email protected]
with:
manifest-path: Ribasim-NL/pixi.toml
pixi-version: "latest"
- name: Check Quarto installation and all engines
working-directory: Ribasim-NL
run: pixi run quarto-check
- name: Render Quarto Project
working-directory: Ribasim-NL
run: pixi run quarto-render
- name: Publish Quarto Project
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: Ribasim-NL/docs/_site
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}