Skip to content

Add cross-navigation footer (#49) #43

Add cross-navigation footer (#49)

Add cross-navigation footer (#49) #43

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main, master]
paths: ['docs/**']
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v4
- uses: actions/upload-pages-artifact@v3
with:
path: docs
- id: deploy
uses: actions/deploy-pages@v4
- name: Notify Slack on failure
if: failure()
run: |
if [ -n "${{ secrets.SLACK_WEBHOOK }}" ]; then
curl -s -X POST "${{ secrets.SLACK_WEBHOOK }}" \
-H "Content-Type: application/json" \
-d "{\"text\":\"❌ *Pathfinder GitHub Pages deploy failed*\n<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View run>\"}" || true
fi