Skip to content

Commit 5b786fe

Browse files
authored
Merge pull request #144 from utilForever/restore-ci-docs
Update configuration file for docs
2 parents 275f23d + 385cefa commit 5b786fe

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/docs.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,26 @@ on:
66

77
jobs:
88
build-docs:
9-
runs-on: ubuntu-18.04
9+
name: 🗎 Docs
10+
runs-on: ubuntu-24.04
1011
steps:
11-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1213
with:
13-
recursive: "recursive"
14+
submodules: recursive
1415
- name: Installation
15-
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
1619
- name: Build
1720
run: |
1821
pushd Documents/doxygen
1922
doxygen Doxyfile
2023
popd
2124
mv ../../Doxygen/html ./build
2225
- name: Deploy
23-
uses: JamesIves/github-pages-deploy-action@3.6.2
26+
uses: JamesIves/github-pages-deploy-action@v4
2427
with:
25-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
BRANCH: gh-pages # The branch the action should deploy to.
27-
FOLDER: build # The folder the action should deploy.
28-
CLEAN: true # Automatically remove deleted files from the deploy branch
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+
branch: gh-pages
30+
folder: build
31+
clean: true

0 commit comments

Comments
 (0)