We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cceff11 commit d980570Copy full SHA for d980570
.github/workflows/gh-pages.yml
@@ -0,0 +1,32 @@
1
+# template: https://github.com/Viatorus/emio/blob/main/.github/workflows/pages.yml
2
+name: Deploy Github Pages
3
+
4
+on:
5
+ workflow_dispatch:
6
7
+jobs:
8
+ deploy-pages:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: write
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
16
+ - name: Generate single header file
17
+ run: |
18
+ pip install quom
19
+ if [[ -z "$(git tag --points-at HEAD)" ]]; then
20
+ DST=trunk
21
+ else
22
+ DST=$(git tag)
23
+ fi
24
+ mkdir -p web/dist/$DST
25
+ quom -g __BITFILLED_.* -I bitfilled bitfilled/bitfilled.hpp web/dist/$DST/bitfilled.hpp
26
27
+ - name: Deploy
28
+ uses: JamesIves/github-pages-deploy-action@v4
29
+ with:
30
+ branch: gh-pages
31
+ folder: web/
32
+ clean: false
0 commit comments