Skip to content

Commit 870fdac

Browse files
committed
Edit yaml
1 parent 2843995 commit 870fdac

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- image: circleci/node:8.15-browsers
4646
user: root
4747
steps:
48-
- run: 'sh ./trigger-demo-build.sh $CIRCLE_TOKEN'
48+
- run: sh trigger-demo-build.sh $CIRCLE_TOKEN
4949

5050
workflows:
5151
version: 2

.circleci/trigger-demo-build.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
#!/bin/bash
2-
TOKEN=$1
3-
curl -X POST --header "Content-Type: application/json" -d '{"build_parameters": {"CIRCLE_JOB": "deploy_stage"}}' https://circleci.com/api/v1/project/blocknative/react-demo/tree/develop?circle-token=$TOKEN
1+
curl -X POST --header "Content-Type: application/json" -d '{"build_parameters": {"CIRCLE_JOB": "deploy_stage"}}' https://circleci.com/api/v1/project/blocknative/react-demo/tree/develop?circle-token=$1

0 commit comments

Comments
 (0)