From 9edc2a373ba2e29dff8e8e045e29fd9c9bf1a475 Mon Sep 17 00:00:00 2001 From: Scott Chamberlain Date: Fri, 6 Dec 2024 10:23:19 -0800 Subject: [PATCH] update actions-netlify action version; make site id a secret --- .github/workflows/deploy-preview.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index e52b7a6..3b45ab0 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -49,9 +49,9 @@ jobs: - name: Deploy Preview to Netlify as preview id: netlify-deploy - uses: nwtgck/actions-netlify@v2 + uses: nwtgck/actions-netlify@v3.0 env: - NETLIFY_SITE_ID: d9dd191c-8f69-45bd-8b31-ed6129366828 + NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} with: publish-dir: "./_site"