create-preview-workflow 1.1.8 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +4 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -51,7 +51,8 @@ function getGitHubInfo() {
51
51
  {
52
52
  type: "text",
53
53
  name: "org",
54
- message: "Enter the organization:",
54
+ message:
55
+ "Enter the email address (registered at Preview) or the Organization name:",
55
56
  },
56
57
  ]);
57
58
 
@@ -117,7 +118,7 @@ jobs:
117
118
 
118
119
  - name: Call Preview Webhook
119
120
  run: |
120
- curl -X POST http://preview.neurasense.io:30010/deploy \\
121
+ curl -X POST http://webhook.neurasense.io:30010/deploy \\
121
122
  -H "Content-Type: application/json" \\
122
123
  -d "\$(jq -n \\
123
124
  --arg repo "\${{ github.repository }}" \\
@@ -179,7 +180,7 @@ jobs:
179
180
 
180
181
  - name: Call Delete Webhook
181
182
  run: |
182
- curl -X POST http://preview.neurasense.io:30010/delete \\
183
+ curl -X POST http://webhook.neurasense.io:30010/delete \\
183
184
  -H "Content-Type: application/json" \\
184
185
  -d "\$(jq -n \\
185
186
  --arg repo "\${{ github.repository }}" \\
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-preview-workflow",
3
- "version": "1.1.8",
3
+ "version": "1.2.0",
4
4
  "bin": {
5
5
  "create-preview-workflow": "index.js"
6
6
  },