From 21de03e899c0496f3362562c02a8eae0b6ed2c27 Mon Sep 17 00:00:00 2001 From: edlu77 Date: Thu, 15 Feb 2024 16:08:23 -0500 Subject: [PATCH] Switch netlify deploy action --- .github/workflows/build-previews.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-previews.yml b/.github/workflows/build-previews.yml index 4b847952..4d2b16b0 100644 --- a/.github/workflows/build-previews.yml +++ b/.github/workflows/build-previews.yml @@ -27,10 +27,9 @@ jobs: - name: npm ci for a2agc run: npm ci - run: npm run build -- --output-hashing=none --base-href=/ - - uses: jsmrcaga/action-netlify-deploy@master + - uses: netlify/actions/cli@master with: + args: deploy --dir=deploy --filter=a2agc + env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - install_command: false - build_command: false - build_directory: dist/a2agc