Skip to content

Commit

Permalink
feat: use ZAPIER_INTEGRATION_ID secret instead of hardcoded ID
Browse files Browse the repository at this point in the history
  • Loading branch information
vpetersson committed Dec 9, 2024
1 parent 2399707 commit 2e965db
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/zapier-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2e965db

Please sign in to comment.