Skip to content

Commit

Permalink
Circle badge fix (#2)
Browse files Browse the repository at this point in the history
* Added dummy job for non deploy commits

* fix

* fix

* fix

* fix

* fix

* fix

* user smaller image
  • Loading branch information
marchinram authored Apr 21, 2020
1 parent f3fec1d commit 317dd81
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ defaults: &defaults
docker:
- image: circleci/node:12.2
jobs:
dummy:
docker:
- image: cimg/base:2020.01
steps:
- run:
name: Running dummy job
command: echo ''
deploy:
<<: *defaults
steps:
Expand All @@ -22,7 +29,10 @@ jobs:
curl -s -X POST -d "{\"tag_name\":\"$CIRCLE_TAG\",\"name\":\"$CIRCLE_TAG\",\"body\":\"iOS SDK version: ${ios_version}\nAndroid SDK version: ${android_version}\",\"draft\":false,\"prerelease\":false}" -H "Authorization: token $GITHUB_TOKEN" -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/foursquare/pilgrim-sdk-react-native/releases"
workflows:
version: 2
main:
untagged-build:
jobs:
- dummy
tagged-build:
jobs:
- deploy:
filters:
Expand Down

0 comments on commit 317dd81

Please sign in to comment.