Skip to content

Commit

Permalink
Merge pull request #209 from arkedge/feature/deploy-doxygen-to-github…
Browse files Browse the repository at this point in the history
…-pages

Deploy Doxygen generated HTML to GitHub Pages
  • Loading branch information
sksat committed Nov 27, 2023
2 parents 346f372 + c00d149 commit 9c69392
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/deploy-reference.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
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]

0 comments on commit 9c69392

Please sign in to comment.