forked from NLnetLabs/simdzone
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (32 loc) · 933 Bytes
/
deploy-manual.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: deploy-manual
on:
push:
branches:
- 'main'
jobs:
deploy-manual:
if: github.repository == 'NLnetLabs/simdzone'
permissions:
contents: read
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
sudo apt-get install -y doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe python3-sphinx-tabs python3-sphinx-copybutton python3-sphinx-notfound-page
- run: |
set -e -x
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_DOCUMENTATION=on ..
cmake --build . --target manual
#mv manual _site
#tar -c -f github-pages _site
#mv github-pages ../
#- run: |
#ls -als
- uses: actions/[email protected]
with:
path: build/manual
- uses: actions/deploy-pages@main