Skip to content

Merge branch 'main' of https://github.com/ihmeuw/idd-forecast-mbp int… #8

Merge branch 'main' of https://github.com/ihmeuw/idd-forecast-mbp int…

Merge branch 'main' of https://github.com/ihmeuw/idd-forecast-mbp int… #8

Workflow file for this run

name: Build and Deploy Docs
on:
push:
branches:
- main
workflow_dispatch:
pull_request:
branches:
- main
types:
- closed
jobs:
build-and-deploy-docs:
if: ${{ github.event.pull_request.merged }} or ${{ github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- uses: ./.github/actions/python-poetry-env
- name: Deploy docs
run: poetry run mkdocs gh-deploy --force