Update cmake-multi-platform.yml #1
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
# ############################################################################## | |
# OASIS: Open Algebra Software for Inferring Solutions | |
# | |
# doxygen.yml | |
# ############################################################################## | |
name: Deploy static content to Pages | |
on: | |
push: | |
branches: [ "master" ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
# Checks out the repository. | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
# Installs Doxygen on the runner. | |
- name: Install Doxygen | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y doxygen | |
# Sets up GitHub Pages. | |
- name: Setup GitHub Pages | |
uses: actions/configure-pages@v3 | |
# Generates documentataion using Doxygen. | |
- name: Generate documentation | |
run: doxygen | |
# Uploads documentation artifacts. | |
- name: Upload artifacts | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: 'docs/html' | |
# Deploys to GitHub Pages. | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v2 |