From be5ef7b2f2d434e94c967bbb2991939ea50d7c2a Mon Sep 17 00:00:00 2001 From: Arnelle Balane Date: Mon, 9 Oct 2023 00:04:09 -0700 Subject: [PATCH] Migrate deploy to use netlify/cli action --- .github/workflows/deploy-to-netlify.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-to-netlify.yml b/.github/workflows/deploy-to-netlify.yml index d5ddd00..3cc0ffc 100644 --- a/.github/workflows/deploy-to-netlify.yml +++ b/.github/workflows/deploy-to-netlify.yml @@ -48,8 +48,8 @@ jobs: VITE_PUBLIC_SENTRY_DSN: ${{ secrets.VITE_PUBLIC_SENTRY_DSN }} VITE_PUBLIC_SENTRY_ENVIRONMENT: ${{ secrets.VITE_PUBLIC_SENTRY_ENVIRONMENT }} - uses: netlify/actions/build@master + with: + args: deploy --prod env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - NETLIFY_CMD: npm run build - NETLIFY_DIR: dist