diff options
-rw-r--r-- | .github/workflows/main.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1f3cb54..ef7cb7a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,6 +54,7 @@ jobs: - name: Deploy to Netlify env: NETLIFY_TOKEN: ${{ secrets.NETLIFY_TOKEN }} + NETLIFY_SITE_NAME: ${{ secrets.NETLIFY_SITE_NAME }} run: | zip -r website.zip build/ - curl -H "Content-Type: application/zip" -H "Authorization: Bearer $NETLIFY_TOKEN" --data-binary "@website.zip" https://api.netlify.com/api/v1/sites/vyos-community.netlify.app/deploys + curl -H "Content-Type: application/zip" -H "Authorization: Bearer $NETLIFY_TOKEN" --data-binary "@website.zip" https://api.netlify.com/api/v1/sites/$NETLIFY_SITE_NAME/deploys |