Skip to content

Commit 81cf9d4

Browse files
committed
Fix multiline run command
1 parent 1d39e9c commit 81cf9d4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/node_js_containers.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
steps:
2121
- name: Post a user
2222
# Send a HTTP POST request to create a user to the mongo DB.
23-
run: "curl -X POST http://localhost:3001/api/user -H 'Content-Type: application: application/json' -d '{\"username\": \"hello\", \"address\": \"dwded\"}'"
24-
run: "curl -X POST http://localhost:3001/api/user -H 'Content-Type: application: application/json' -d '{\"username\": \"hello\", \"address\": \"pluk\"}'"
23+
run: |
24+
"curl -X POST http://localhost:3001/api/user -H 'Content-Type: application: application/json' -d '{\"username\": \"hello\", \"address\": \"dwded\"}'"
25+
"curl -X POST http://localhost:3001/api/user -H 'Content-Type: application: application/json' -d '{\"username\": \"hello\", \"address\": \"pluk\"}'"
2526
- name: Get Users
2627
run: curl http://localhost:3001/api/users
2728

0 commit comments

Comments
 (0)