File tree Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and deploy site
2
2
3
3
on :
4
- push :
5
- branches :
6
- - main
7
4
schedule :
8
5
- cron : ' 15 2 * * *'
9
6
workflow_dispatch :
12
9
build :
13
10
runs-on : ubuntu-latest
14
11
steps :
15
- - uses : actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
12
+ - name : Call Netlify build hook
16
13
with :
17
- submodules : true
18
- - uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
19
- with :
20
- node-version : ' 16'
21
- cache : ' npm'
22
- - run : npm ci
23
- - run : make ANTORAFLAGS=--fetch PLAYBOOK=antora-playbook.yml
24
- - name : Publish to GitHub Pages
25
- uses : peaceiris/actions-gh-pages@64b46b4226a4a12da2239ba3ea5aa73e3163c75b # v3
26
- with :
27
- github_token : ${{ secrets.GITHUB_TOKEN }}
28
- cname : docs.stackable.tech
29
- publish_dir : build/site
30
- publish_branch : docs
14
+ HOOK_URL : ${{ secrets.NETLIFY_BUILD_TRIGGER_HOOK }}
15
+ - run : curl -X POST -d '{}' $HOOK_URL
You can’t perform that action at this time.
0 commit comments