From aecbe7fbf82fe553baf58d68e41282575b333bd9 Mon Sep 17 00:00:00 2001 From: Charles Marttinen Date: Tue, 30 Oct 2018 00:14:22 -0400 Subject: [PATCH 1/2] feat: Update CircleCI config to trigger a new build of 'deploy' --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1d9fa4365a..949d2f577f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,3 +19,6 @@ jobs: - run: tar czf _gen.tar.gz _gen/* - store_artifacts: path: _gen.tar.gz + + # Trigger a new build of the deploy project + - run: curl -X POST --header "Content-Type: application/json" https://circleci.com/api/v1.1/project/github/PokeAPI/deploy/build?circle-token=$CIRCLECI_API_TOKEN From 64c8d821371c5d440234c6aaba58b77adc2bd31d Mon Sep 17 00:00:00 2001 From: Charles Marttinen Date: Tue, 30 Oct 2018 15:57:31 -0400 Subject: [PATCH 2/2] fix: Quote YAML string --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 949d2f577f..60bcc279b7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,4 +21,4 @@ jobs: path: _gen.tar.gz # Trigger a new build of the deploy project - - run: curl -X POST --header "Content-Type: application/json" https://circleci.com/api/v1.1/project/github/PokeAPI/deploy/build?circle-token=$CIRCLECI_API_TOKEN + - run: "curl -X POST --header \"Content-Type: application/json\" https://circleci.com/api/v1.1/project/github/PokeAPI/deploy/build?circle-token=$CIRCLECI_API_TOKEN"