create-preview-workflow 1.0.3 → 1.0.4

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 +1 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -12,7 +12,6 @@ const prompts = require("prompts");
12
12
  message:
13
13
  "Enter the source directory to sync (e.g., 2_scripts) without leading slash:",
14
14
  },
15
-
16
15
  ]);
17
16
 
18
17
  const workflow = `# .github/workflows/sync.yml
@@ -38,7 +37,7 @@ jobs:
38
37
 
39
38
  - name: Clone target repo
40
39
  run: |
41
- git clone https://${{ secrets.GH_SYNC_TOKEN }}@github.com/ssm123ssm/preview.git
40
+ git clone https://\${{ secrets.GH_SYNC_TOKEN }}@github.com/ssm123ssm/preview.git
42
41
  rm -rf preview/public/protected/\$DIR
43
42
  mkdir -p preview/public/protected/\$DIR
44
43
  cp -r ${response.sourcePath}/. preview/public/protected/\$DIR/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-preview-workflow",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "bin": {
5
5
  "create-preview-workflow": "index.js"
6
6
  },