Skip to content

Commit 2d8514b

Browse files
committed
BUG: Revert deploy to Netlify
1 parent 3ac107a commit 2d8514b

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

.fleek.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

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

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -364,18 +364,22 @@ jobs:
364364
- name: Unpack site
365365
shell: bash
366366
run: |
367-
cp ../../Ex/.fleek.json .
368367
mkdir ${{ github.workspace }}/site
369368
echo "Unpack to ${{ github.workspace }}/site"
370369
tar --strip-components=1 -xf /home/runner/work/bld/ITKEx-build/ITKSphinxExamples-*-html.tar.gz -C ${{ github.workspace }}/site
371370
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
375373
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

0 commit comments

Comments
 (0)