File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Update docs
2
+ on :
3
+ push :
4
+ branches : [master]
5
+ permissions :
6
+ contents : write
7
+ jobs :
8
+ build-and-deploy :
9
+ concurrency : ci-${{ github.ref }}
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout
13
+ uses : actions/checkout@v3
14
+ with :
15
+ fetch-depth : 1
16
+
17
+ - name : Download pandoc
18
+
19
+ with :
20
+ repo : jgm/pandoc
21
+ version : tags/2.19.2
22
+ file : pandoc-2.19.2-1-amd64.deb
23
+ target : pandoc-2.19.2-1-amd64.deb
24
+
25
+ - name : Install and Build
26
+ run : |
27
+ sudo apt-get install -y libgl1-mesa-dev libglu-dev libxcursor-dev
28
+ sudo dpkg -i pandoc-2.19.2-1-amd64.deb
29
+ mkdir build
30
+ cd build
31
+ cmake ..
32
+ make html
33
+
34
+ - name : Deploy
35
+ uses : JamesIves/github-pages-deploy-action@v4
36
+ with :
37
+ folder : build/docs/html/refman
38
+ target-folder : a5docs/trunk
39
+ token : ${{ secrets.LIBALLEG_PAT }}
40
+ branch : master
41
+ repository-name : liballeg/liballeg.github.io
42
+ commit-message : Automatic update from allegro5
43
+ clean : true
You can’t perform that action at this time.
0 commit comments