create-preview-workflow 1.2.0 → 2.0.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 +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -70,7 +70,7 @@ function getGitHubInfo() {
70
70
  .filter((file) => fs.statSync(path.join(sourceDir, file)).isFile());
71
71
  }
72
72
 
73
- const baseUrl = `http://preview.neurasense.io:30010/${username}@${repo}`;
73
+ const baseUrl = `http://preview.neurasense.io/${username}@${repo}`;
74
74
  const urls = fileNames.map((file) => `${baseUrl}/${file}`);
75
75
 
76
76
  if (urls.length > 0) {
@@ -118,7 +118,7 @@ jobs:
118
118
 
119
119
  - name: Call Preview Webhook
120
120
  run: |
121
- curl -X POST http://webhook.neurasense.io:30010/deploy \\
121
+ curl -X POST http://preview.neurasense.io/deploy \\
122
122
  -H "Content-Type: application/json" \\
123
123
  -d "\$(jq -n \\
124
124
  --arg repo "\${{ github.repository }}" \\
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-preview-workflow",
3
- "version": "1.2.0",
3
+ "version": "2.0.0",
4
4
  "bin": {
5
5
  "create-preview-workflow": "index.js"
6
6
  },