Skip to content

Commit

Permalink
ci: refactor deploy documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Aug 4, 2024
1 parent 07b66ef commit 0467bfd
Showing 1 changed file with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,37 +1,36 @@
name: Deploy Documentation
name: Deploy
on:
workflow_dispatch:
push:
branches: [master]
jobs:
deploy-documentation:
deploy-docs:
name: Deploy Documentation
runs-on: ubuntu-20.04
permissions:
id-token: write
pages: write
environment:
name: github-pages
url: ${{ steps.deploy-pages.outputs.page_url }}
url: ${{ steps.deploy-docs.outputs.page_url }}
concurrency:
group: pages
cancel-in-progress: true
steps:
- name: Checkout this repository
- name: Checkout Project
uses: actions/[email protected]

- name: Install documentation dependencies
run: |
sudo apt-get update
sudo apt-get install -y doxygen
- name: Install Doxygen
run: sudo apt-get install -y doxygen

- name: Build documentation
- name: Build Documentation
run: doxygen

- name: Upload Documentation
uses: actions/[email protected]
with:
path: doc

- name: Deploy Pages
id: deploy-pages
- name: Deploy Documentation
id: deploy-docs
uses: actions/[email protected]

0 comments on commit 0467bfd

Please sign in to comment.