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`.
14
14
15
15
There are a number of helpful scripts in ` package.json ` .
16
16
17
- Run tests
18
- ` yarn test `
19
-
20
17
Run typescript in watch mode:
18
+
21
19
` yarn watch `
22
20
23
21
## Docs
@@ -32,16 +30,19 @@ The zapier cli can be run via `yarn zapier`. Some helpful recipes:
32
30
### Validate
33
31
34
32
Run Zapier validations:
33
+
35
34
` yarn build && yarn zapier validate `
36
35
37
36
### Logs
38
37
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:
41
43
42
- Details log information:
43
44
` yarn zapier logs --type=http --detailed `
44
45
45
- ### Manual deployment
46
+ ## Deployment
46
47
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