-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: refactor deploy documentation workflow
- Loading branch information
Showing
1 changed file
with
10 additions
and
11 deletions.
There are no files selected for viewing
21 changes: 10 additions & 11 deletions
21
.github/workflows/deploy-documentation.yml → .github/workflows/deploy.yml
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
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] |