Skip to content

Commit d000236

Browse files
committed
add --create-dirs option to curl
1 parent b85257f commit d000236

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: curl
1818
uses: wei/curl@master
1919
with:
20-
args: -o ./build/loadable-stats.json https://static.velog.io/loadable-stats.json
20+
args: -o ./build/loadable-stats.json "https://static.velog.io/loadable-stats.json" --create-dirs
2121
- name: serverless deploy
2222
uses: serverless/github-action@master
2323
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
"build:server": "node scripts/build.server.js",
150150
"start:server:local": "node ./dist/server.js",
151151
"test": "node scripts/test.js",
152-
"download:stats": "curl -o ./build/loadable-stats.json https://static.velog.io/loadable-stats.json"
152+
"download:stats": "curl -o ./build/loadable-stats.json \"https://static.velog.io/loadable-stats.json\" --create-dirs"
153153
},
154154
"eslintConfig": {
155155
"extends": [

0 commit comments

Comments
 (0)