Skip to content

Commit aef13c5

Browse files
committed
fix: daily build should use direct api call to trigger build
1 parent f601dec commit aef13c5

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.fleek.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"site": {
3-
"id": "4b619425-c0ab-4855-b97a-814c177842f1",
3+
"id": "71e975cf-8a38-4294-ab3b-4d70ad47ec42",
44
"team": "protocollabs-team",
55
"platform": "ipfs",
66
"source": "ipfs",

.github/workflows/daily-build.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,5 @@ jobs:
77
name: Build
88
runs-on: ubuntu-latest
99
steps:
10-
- name: Checkout repo
11-
uses: actions/checkout@v2
12-
- name: Trigger Fleek Deploy
13-
uses: fleekhq/action-deploy@v1
14-
with:
15-
apiKey: ${{ secrets.FLEEK_API_KEY }}
16-
- name: Done
17-
run: echo "Check https://proto.school"
10+
- name: Trigger build
11+
run: curl -H "Authorization:${{ secrets.FLEEK_API_KEY }}" -H "Content-Type:application/json" -d '{"query":"mutation { triggerDeploy(siteId:\"${{ secrets.FLEEK_SITE_ID }}\") { status } }"}' https://api.fleek.co/graphql

0 commit comments

Comments
 (0)