This repository was archived by the owner on Mar 9, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +42
-8
lines changed Expand file tree Collapse file tree 2 files changed +42
-8
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to Zapier
2+ on :
3+ release :
4+ types : [created]
5+
6+ jobs :
7+ publish :
8+ name : Publish
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Check out code
12+ uses : actions/checkout@v2
13+
14+ - name : Setup Node
15+ uses : actions/setup-node@v1
16+ with :
17+ node-version : 12.18.3
18+
19+ - name : Install Deps
20+ run : yarn install
21+
22+ - name : Compile TypeScript
23+ run : yarn build
24+
25+ - name : Zapier Validate
26+ env :
27+ ZAPIER_DEPLOY_KEY : ${{ secrets.ZAPIER_API_KEY }}
28+ run : yarn zapier validate
29+
30+ - name : Push to Zapier
31+ env :
32+ ZAPIER_DEPLOY_KEY : ${{ secrets.ZAPIER_API_KEY }}
33+ run : yarn zapier push
Original file line number Diff line number Diff line change @@ -14,10 +14,8 @@ The rest of the project dependencies can be installed by running `yarn install`.
1414
1515There are a number of helpful scripts in ` package.json ` .
1616
17- Run tests
18- ` yarn test `
19-
2017Run typescript in watch mode:
18+
2119` yarn watch `
2220
2321## Docs
@@ -32,16 +30,19 @@ The zapier cli can be run via `yarn zapier`. Some helpful recipes:
3230### Validate
3331
3432Run Zapier validations:
33+
3534` yarn build && yarn zapier validate `
3635
3736### Logs
3837
39- All HTTP requests
40- ` yarn zapier logs --type=http --detailed `
38+ All HTTP requests:
39+
40+ ` yarn zapier logs --type=http `
41+
42+ Detailed log information:
4143
42- Details log information:
4344` yarn zapier logs --type=http --detailed `
4445
45- ### Manual deployment
46+ ## Deployment
4647
47- ` yarn build && yarn zapier push `
48+ Use the ` publish ` Github workflow action.
You can’t perform that action at this time.
0 commit comments