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