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