Update pull-request.yml

This commit is contained in:
Ajay Bura 2021-10-12 15:00:09 +05:30 committed by Krishan
parent 9fad8a1098
commit d067fe776d

View file

@ -13,18 +13,18 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: jsmrcaga/action-netlify-deploy@master - uses: jsmrcaga/action-netlify-deploy@master
with: with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH2_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE3_ID }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE3_ID }}
BUILD_DIRECTORY: "dist" BUILD_DIRECTORY: "dist"
- name: Deploy to Netlify - name: Deploy to Netlify
uses: nwtgck/actions-netlify@v1.1 uses: nwtgck/actions-netlify@v1.1
with: with:
publish-dir: 'dist' publish-dir: "dist"
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions" deploy-message: "Deploy from GitHub Actions"
enable-pull-request-comment: true enable-pull-request-comment: true
enable-commit-comment: false enable-commit-comment: false
overwrites-pull-request-comment: true overwrites-pull-request-comment: true
env: env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH2_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE3_ID }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE3_ID }}