From 403a8e6f2bc12709c71b6ef790b5dbb10791b5ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Z=C3=A9=20Bateira?= Date: Fri, 7 May 2021 17:18:28 +0100 Subject: [PATCH] fix: use fleek api instead to trigger the build --- .github/workflows/scheduled-publishing.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/scheduled-publishing.yml b/.github/workflows/scheduled-publishing.yml index 084db9f1..21ab785f 100644 --- a/.github/workflows/scheduled-publishing.yml +++ b/.github/workflows/scheduled-publishing.yml @@ -16,10 +16,7 @@ jobs: id: should_publish_step - name: Trigger Fleek Build if: ${{ steps.should_publish_step.outputs.should_publish == 'true' }} - id: deploy - uses: fleekhq/action-deploy@v1 - with: - apiKey: ${{ secrets.FLEEK_API_KEY }} + 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 - name: Scheduled posts published if: ${{ steps.should_publish_step.outputs.should_publish == 'true' }} run: echo "Check https://blog.ipfs.io"