chore(deps): update github-actions #3114
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: build-docs | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
deploy: | |
runs-on: ubuntu-24.04 | |
permissions: | |
contents: write | |
pages: write | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | |
with: | |
python-version: "3.12" | |
- run: pip install -r docs/requirements.txt | |
- run: mkdocs build --strict --verbose --site-dir=./site | |
# - name: build FHIR IG | |
# uses: ghcr.io/miracum/ig-build-tools:v1.0.74@sha256:c33b9cef9076d91f5caa5f4229b0b3591ec8edbfe9986a40b981b1ee6394287c | |
# working-directory: fhir/ig | |
# run: java -jar /usr/local/bin/publisher.jar -ig ig.ini | |
# - name: copy FHIR IG output into mkdocs site | |
# run: cp -r fhir/ig/output/ site/fhir | |
- run: mkdocs gh-deploy --force | |
if: ${{ github.event_name != 'pull_request' }} |