Merge pull request #326 from stackhpc/tags-comment #280
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: Publish documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
docs-publish: | |
name: Publish documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
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() |