Skip to content

Commit

Permalink
Circle ci deploy (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naramsim authored Apr 26, 2020
1 parent dd54d13 commit b095782
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,24 @@ jobs:
steps:
- checkout
- ditto-transform
build:
build-and-deploy:
executor: python36
steps:
- checkout
- ditto-transform
- run: tar czf _gen.tar.gz _gen/*
- store_artifacts:
path: _gen.tar.gz
deploy:
executor: python36
steps:
# 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"

workflows:
version: 2
test-build-and-deploy:
jobs:
- test
- build:
- build-and-deploy:
requires:
- test
filters:
branches:
only: master
- deploy:
requires:
- build
filters:
branches:
only: master

0 comments on commit b095782

Please sign in to comment.