File tree 1 file changed +44
-0
lines changed
1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Zola on GitHub Pages
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - prod_zola
7
+
8
+ jobs :
9
+ build_and_deploy :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout prod
13
+ uses : actions/checkout@v4
14
+ with :
15
+ ref : prod_zola
16
+ path : website
17
+
18
+ - name : Checkout valkey-doc
19
+ uses : actions/checkout@v4
20
+ with :
21
+ repository : valkey-io/valkey-doc
22
+ path : valkey-doc
23
+
24
+ - name : Checkout valkey
25
+ uses : actions/checkout@v4
26
+ with :
27
+ repository : valkey-io/valkey
28
+ path : valkey
29
+
30
+ - name : Init commands and topics
31
+ run : |
32
+ cd website
33
+ ./build/init-topics.sh ../valkey-doc/topics
34
+ ./build/init-commands.sh ../valkey-doc/commands ../valkey/src/commands
35
+
36
+ # - name: Build and deploy
37
+
38
+ # env:
39
+ # PAGES_BRANCH: gh-pages
40
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41
+ - name : Build only
42
+
43
+ env :
44
+ BUILD_ONLY : true
You can’t perform that action at this time.
0 commit comments