Skip to content

Commit

Permalink
fix: include deploy key in .zapierapprc config
Browse files Browse the repository at this point in the history
  • Loading branch information
vpetersson committed Dec 9, 2024
1 parent f8dab2f commit 4b17318
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/zapier-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,16 @@ jobs:
- name: Run tests
run: npm test

- name: Install Zapier CLI
run: npm install -g zapier-platform-cli

- name: Create Zapier config
env:
ZAPIER_DEPLOY_KEY: ${{ secrets.ZAPIER_DEPLOY_KEY }}
run: |
echo "{\"id\":${{ secrets.ZAPIER_INTEGRATION_ID }}, \"key\":\"${{ secrets.ZAPIER_DEPLOY_KEY }}\"}" > .zapierapprc
- name: Deploy to Zapier
uses: zapier/actions/cli@v1
with:
deploy-key: ${{ secrets.ZAPIER_DEPLOY_KEY }}
app-id: ${{ secrets.ZAPIER_INTEGRATION_ID }}
command: push --skip-npm-install
env:
ZAPIER_DEPLOY_KEY: ${{ secrets.ZAPIER_DEPLOY_KEY }}
run: zapier push --skip-npm-install

0 comments on commit 4b17318

Please sign in to comment.