From f73ea0050f0081b4c9ab4b5a5cfe3b0363a7c849 Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Sun, 10 May 2020 12:28:16 +0900 Subject: [PATCH] docs: write about `overwrites-pull-request-commen` and others --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 665d791b..c89ee57f 100644 --- a/README.md +++ b/README.md @@ -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 }} @@ -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