File tree Expand file tree Collapse file tree 2 files changed +14
-15
lines changed Expand file tree Collapse file tree 2 files changed +14
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -364,18 +364,22 @@ jobs:
364
364
- name : Unpack site
365
365
shell : bash
366
366
run : |
367
- cp ../../Ex/.fleek.json .
368
367
mkdir ${{ github.workspace }}/site
369
368
echo "Unpack to ${{ github.workspace }}/site"
370
369
tar --strip-components=1 -xf /home/runner/work/bld/ITKEx-build/ITKSphinxExamples-*-html.tar.gz -C ${{ github.workspace }}/site
371
370
372
- - name : Deploy website to Fleek
373
- uses : fleekhq/action-deploy@v1
374
- id : deploy
371
+ - name : Deploy website to Netlify
372
+ uses : nwtgck/actions-netlify@v1.1.13
375
373
with :
376
- apiKey : ${{ secrets.FLEEK_API_KEY }}
377
- # workDir: /home/runner/work/Ex
378
- timeout-minutes : 15
379
-
380
- - name : Get Fleek output URL
381
- run : echo "Deploy url is ${{ steps.deploy.outputs.deployUrl }}"
374
+ publish-dir : ' ${{ github.workspace }}/site'
375
+ production-branch : master
376
+ production-deploy : true
377
+ github-token : ${{ secrets.GITHUB_TOKEN }}
378
+ deploy-message : ${{ github.event.pull_request.title }})
379
+ enable-pull-request-comment : true
380
+ enable-commit-comment : true
381
+ overwrites-pull-request-comment : true
382
+ env :
383
+ NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
384
+ NETLIFY_SITE_ID : ${{ secrets.NETLIFY_SITE_ID }}
385
+ timeout-minutes : 5
You can’t perform that action at this time.
0 commit comments