Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 30 additions & 5 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on:
push:
branches:
- master
pull_request:

jobs:
publish:
build:
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -29,8 +30,32 @@ jobs:
- name: Build website
run: make html

- name: Deploy changes
uses: JamesIves/github-pages-deploy-action@4.1.4
- name: Linkcheck
run: make linkcheck
continue-on-error: true

- name: Upload website artifacts
uses: actions/upload-pages-artifact@v3
with:
branch: gh-pages
folder: build/html
path: build/html/


deploy:
if: ${{ github.ref == 'refs/heads/master' }}

needs: build

permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}

runs-on: ubuntu-latest

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Loading