Skip to content

Merge pull request #5784 from bcgov/renovate/actions-checkout-digest #48

Merge pull request #5784 from bcgov/renovate/actions-checkout-digest

Merge pull request #5784 from bcgov/renovate/actions-checkout-digest #48

Workflow file for this run

name: 50.Publish MkDocs in GitHub Pages
on:
push:
branches:
- main
paths:
- .github/workflows/mkdocs.yml
- docs/**
- mkdocs.yml
- README.md
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
mkdocs:
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: hmarr/debug-action@f7318c783045ac39ed9bb497e22ce835fdafbfe6
- uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f
- name: Setup Tools
uses: ./.github/actions/setup-tools
- name: Build 📦
run: |
make mk-build
touch site/.nojekyll
- name: Deploy 🚀
# Due to an issue with the latest tag, we’ll hard-code the tag version for now.
uses: JamesIves/github-pages-deploy-action@v4.7.3
with:
folder: site
- name: Notify RocketChat on Failure
if: failure()
uses: ./.github/actions/rocketchat-notification
with:
webhook-url: ${{ secrets.ROCKETCHAT_WEBHOOK_URL }}
data: |
{
"text": ":warning: Deployment to GitHub Pages failed! [Investigate here](https://github.com/bcgov/platform-services-registry/actions/workflows/mkdocs.yml)"
}