Skip to content

Merge pull request #499 from stackhpc/pin-actions #438

Merge pull request #499 from stackhpc/pin-actions

Merge pull request #499 from stackhpc/pin-actions #438

Workflow file for this run

---
name: Publish documentation
on:
push:
branches:
- main
jobs:
docs-publish:
name: Publish documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.x
- run: pip install -r docs-requirements.txt
- run: mkdocs gh-deploy --force
- name: Send message to Slack via Workflow Builder
uses: ./.github/actions/slack-alert
with:
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
slack-channel-id: ${{ vars.SLACK_CHANNEL_ID }}
if: failure()