Skip to content

Commit

Permalink
updates gha pr
Browse files Browse the repository at this point in the history
  • Loading branch information
Nowosad committed Sep 22, 2024
1 parent 4665e3e commit 97ecba4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ jobs:

- name: Deploy Preview to Netlify as preview
id: netlify-deploy
uses: nwtgck/actions-netlify@v2
uses: nwtgck/actions-netlify@v3
env:
NETLIFY_SITE_ID: e18690e5-215e-4584-b0f1-963bc99a10d0
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
with:
publish-dir: './docs'
production-deploy: false
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message:
'Deploy from GHA: ${{ github.event.pull_request.title || github.event.head_commit.message }} (${{ github.sha }})'
alias: deploy-preview-${{ github.event.number }}
deploy-message: |
Deploy from GHA: ${{ github.event.pull_request.title || format('manual from PR {0}', github.event.issue.number) }}
alias: deploy-preview-${{ github.event.pull_request.number || github.event.issue.number }}
# these all default to 'true'
enable-pull-request-comment: true
enable-commit-comment: false
Expand Down

0 comments on commit 97ecba4

Please sign in to comment.