Skip to content

Commit

Permalink
Fixed curl syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabyalter committed Jul 8, 2019
1 parent cd32ff9 commit 4472125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
name: Deploy into staging via Jenkins
command: |
export BRANCH_NO_SLASH=${CIRCLE_BRANCH//\//_}
curl --fail --user -u $JENKINS_USERNAME:$JENKINS_API_KEY -X POST http://jenkins.library.nyu.edu/view/MaRLI/job/MaRLI%20Development%20Deploy/build/api
curl --fail --user $JENKINS_USERNAME:$JENKINS_API_KEY --request POST http://jenkins.library.nyu.edu/view/MaRLI/job/MaRLI%20Development%20Deploy/build/api
deploy-prod:
docker:
Expand All @@ -77,7 +77,7 @@ jobs:
name: Deploy into production via Jenkins
command: |
export BRANCH_NO_SLASH=${CIRCLE_BRANCH//\//_}
curl --fail --user -u $JENKINS_USERNAME:$JENKINS_API_KEY -X POST http://jenkins.library.nyu.edu/view/MaRLI/job/MaRLI%20Production%20Deploy/build/api
curl --fail --user $JENKINS_USERNAME:$JENKINS_API_KEY --request POST http://jenkins.library.nyu.edu/view/MaRLI/job/MaRLI%20Production%20Deploy/build/api
workflows:
version: 2
Expand Down

0 comments on commit 4472125

Please sign in to comment.