Skip to content

Commit 3325d7b

Browse files
committed
ENH: Deploy docs to Fleek
1 parent c140958 commit 3325d7b

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

.github/workflows/build-test-publish.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -365,18 +365,12 @@ jobs:
365365
mkdir site
366366
tar --strip-components=1 -xf /home/runner/work/bld/ITKEx-build/ITKSphinxExamples-*-html.tar.gz -C site
367367
368-
- name: Publish website to Netlify
369-
uses: nwtgck/actions-netlify@v1.1.13
368+
- name: Deploy website to Fleek
369+
uses: fleekhq/action-deploy@v1
370+
id: deploy
370371
with:
371-
publish-dir: './site'
372-
production-branch: master
373-
production-deploy: true
374-
github-token: ${{ secrets.GITHUB_TOKEN }}
375-
deploy-message: ${{ github.event.pull_request.title }})
376-
enable-pull-request-comment: true
377-
enable-commit-comment: true
378-
overwrites-pull-request-comment: true
379-
env:
380-
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
381-
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
382-
timeout-minutes: 5
372+
apiKey: ${{ secrets.FLEEK_API_KEY }}
373+
timeout-minutes: 15
374+
375+
- name: Get Fleek output URL
376+
run: echo "Deploy url is ${{ steps.deploy.outputs.deployUrl }}"

0 commit comments

Comments
 (0)