Move NodeJS package manager to pnpm #710
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: Deploy C2A Reference | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: "pages" | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: install deps | |
run: | | |
sudo apt-get update -y | |
sudo apt install -y doxygen graphviz | |
- uses: actions/[email protected] | |
- name: C2A setup | |
run: ./setup.sh | |
- name: Build Doxygen | |
run: doxygen | |
- uses: actions/[email protected] | |
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-22.04 | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/[email protected] |