Skip to content

Commit 385cefa

Browse files
committed
ci: Apply changes by Copilot's code review
1 parent ed41a8c commit 385cefa

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/docs.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,19 @@ jobs:
1313
with:
1414
submodules: recursive
1515
- name: Installation
16-
run: sudo apt-get -y install ps2eps texlive-latex-extra doxygen
16+
run: |
17+
sudo apt-get update
18+
sudo apt-get -y install ps2eps texlive-latex-extra doxygen
1719
- name: Build
1820
run: |
1921
pushd Documents/doxygen
2022
doxygen Doxyfile
2123
popd
2224
mv ../../Doxygen/html ./build
2325
- name: Deploy
24-
uses: JamesIves/github-pages-deploy-action@3.6.2
26+
uses: JamesIves/github-pages-deploy-action@v4
2527
with:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27-
BRANCH: gh-pages
28-
FOLDER: build
29-
CLEAN: true
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+
branch: gh-pages
30+
folder: build
31+
clean: true

0 commit comments

Comments
 (0)