Skip to content

Commit 41ae877

Browse files
committed
1st try
1 parent e89d6bf commit 41ae877

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Build and deploy site
22

33
on:
4-
push:
5-
branches:
6-
- main
74
schedule:
85
- cron: '15 2 * * *'
96
workflow_dispatch:
@@ -12,19 +9,7 @@ jobs:
129
build:
1310
runs-on: ubuntu-latest
1411
steps:
15-
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
12+
- name: Call Netlify build hook
1613
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

0 commit comments

Comments
 (0)