Skip to content

Commit 7030a6d

Browse files
authored
Update deploy_docs.yml
1 parent 610ed6a commit 7030a6d

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

.github/workflows/deploy_docs.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
name: Deploy doxygen to Pages
1+
name: Deploy Doxygen to GitHub Pages
22

33
on:
44
push:
55
branches: ["main"]
6-
76
workflow_dispatch:
87

98
permissions:
@@ -19,32 +18,32 @@ jobs:
1918
build:
2019
runs-on: ubuntu-latest
2120
steps:
22-
- uses: actions/checkout@v3
21+
- name: Checkout Repository
22+
uses: actions/checkout@v4
2323
with:
2424
submodules: recursive
2525

26-
- name: Doxygen Action
26+
- name: Generate Doxygen Documentation
2727
uses: mattnotmitt/doxygen-action@edge
2828
with:
2929
doxyfile-path: "./Doxyfile"
3030
working-directory: "."
3131

32-
- name: Add .nojekyll
33-
run: sudo touch ./build_doc/html/.nojekyll
32+
- name: Add .nojekyll File
33+
run: touch ./build_doc/html/.nojekyll
3434

35-
- name: Upload artifact
36-
uses: actions/upload-pages-artifact@v1
35+
- name: Upload Doxygen Artifacts
36+
uses: actions/upload-pages-artifact@v2
3737
with:
3838
path: ./build_doc/html
3939

40-
# Deployment job
4140
deploy:
41+
runs-on: ubuntu-latest
42+
needs: build
4243
environment:
4344
name: github-pages
4445
url: ${{ steps.deployment.outputs.page_url }}
45-
runs-on: ubuntu-latest
46-
needs: build
4746
steps:
4847
- name: Deploy to GitHub Pages
4948
id: deployment
50-
uses: actions/deploy-pages@v2
49+
uses: actions/deploy-pages@v3

0 commit comments

Comments
 (0)