From 2e965db26f2ecd2db9dff01a1d281d6d18ce5ab9 Mon Sep 17 00:00:00 2001 From: Viktor Petersson Date: Mon, 9 Dec 2024 12:19:40 +0000 Subject: [PATCH] feat: use ZAPIER_INTEGRATION_ID secret instead of hardcoded ID --- .github/workflows/zapier-release.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/zapier-release.yml b/.github/workflows/zapier-release.yml index db10de3..a6d34aa 100644 --- a/.github/workflows/zapier-release.yml +++ b/.github/workflows/zapier-release.yml @@ -26,15 +26,11 @@ jobs: - name: Install Zapier CLI run: npm install -g zapier-platform-cli - - name: Link or Register Zapier Integration + - name: Link to Existing Zapier Integration env: ZAPIER_DEPLOY_KEY: ${{ secrets.ZAPIER_DEPLOY_KEY }} - run: | - # Try to link first - if ! zapier link; then - echo "Failed to link, attempting to register new integration..." - zapier register "Screenly" --template=start - fi + ZAPIER_INTEGRATION_ID: ${{ secrets.ZAPIER_INTEGRATION_ID }} + run: zapier link $ZAPIER_INTEGRATION_ID - name: Deploy to Zapier env: