DP-706 Update govuk-frontend 👑 + DP-726 Update footer to match FTS #2213
Workflow file for this run
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: Docs | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
name: Build documentation | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Build | |
run: cd docs && make build | |
- name: Publish | |
if: github.ref == 'refs/heads/main' && github.repository_owner == 'cabinetoffice' | |
run: cd docs && make publish | |
- name: Upload Documentation | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Documentation | |
path: docs/build/* |