Skip to content

Commit

Permalink
Switch to another netlify uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
aaomidi committed Sep 1, 2023
1 parent 95e863d commit 20b5391
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,12 @@ jobs:
name: draft
path: docs

- uses: jsmrcaga/action-netlify-deploy@v2.0.0
with:
- uses: nwtgck/actions[email protected]
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
deploy_alias: ${{ env.BRANCH_NAME }}
build_directory: 'docs'
install_command: 'echo Skipping install'
build_command: 'echo Skipping build'

- name: Add a status badge
uses: Sibz/[email protected]
with:
authToken: ${{ secrets.GITHUB_TOKEN }}
context: Netlify preview
state: success
target_url: ${{ env.NETLIFY_PREVIEW_URL }}
publish-dir: 'docs'
github-token: ${{ secrets.GITHUB_TOKEN }}
alias: deploy-preview-${{ github.event.number }}
timeout-minutes: 1

0 comments on commit 20b5391

Please sign in to comment.