Skip to content

Commit

Permalink
docs: write about overwrites-pull-request-commen and others
Browse files Browse the repository at this point in the history
  • Loading branch information
nwtgck committed May 10, 2020
1 parent f37b5c6 commit f73ea00
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ jobs:
# ...

- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v1.0
uses: nwtgck/actions-netlify@v1.1
with:
publish-dir: './dist'
production-branch: master
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
enable-pull-request-comment: true
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
Expand All @@ -49,7 +52,8 @@ jobs:
- `github-token: ${{ secrets.GITHUB_TOKEN }}`
- `deploy-message` A custom deploy message to see on Netlify deployment (e.g. `${{ github.event.pull_request.title }}`)
- `enable-pull-request-comment: true` Comment on pull request (default: true)
- `enable-commit-comment: true` Comment on GitHub commit (default)
- `enable-commit-comment: true` Comment on GitHub commit (default: true)
- `overwrites-pull-request-comment: true` Overwirtes comment on pull request (default: true)

### Outputs
- `deploy-url` A deployment URL generated by Netlify
Expand Down

0 comments on commit f73ea00

Please sign in to comment.