run_model (#200) #279
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: 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 }} |