chore(deps): update pnpm/action-setup action to v4.1.0 #910
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: Deploy C2A Reference | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: "pages" | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: install deps | |
run: | | |
sudo apt-get update -y | |
sudo apt install -y doxygen graphviz | |
- uses: actions/checkout@v4.2.2 | |
- name: C2A setup | |
run: ./setup.sh | |
- name: Build Doxygen | |
run: doxygen | |
- uses: actions/upload-pages-artifact@v3.0.1 | |
with: | |
path: docs/html | |
deploy: | |
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' | |
needs: build | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
permissions: | |
pages: write | |
id-token: write | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4.0.5 |