Skip to content

Commit

Permalink
Merge pull request #121 from leonhartX/fix-auth
Browse files Browse the repository at this point in the history
[ci skip]fix indent
  • Loading branch information
leonhartX authored Feb 10, 2020
2 parents e9b4156 + 313cf77 commit ab9788d
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
defaults: &defaults
machine: true
working_directory: ~/gas-github
defaults: &defaults
machine: true
working_directory: ~/gas-github

version: 2
jobs:
build-and-test:
<<: *defaults
steps:
- checkout
- run: source $NVM_DIR/nvm.sh && nvm install 6.1.0
- run: source $NVM_DIR/nvm.sh && nvm use 6.1.0
- run: npm install --dev
- run: bundle install
- run: danger
version: 2
jobs:
build-and-test:
<<: *defaults
steps:
- checkout
- run: source $NVM_DIR/nvm.sh && nvm install 6.1.0
- run: source $NVM_DIR/nvm.sh && nvm use 6.1.0
- run: npm install --dev
- run: bundle install
- run: danger

deploy-to-production:
<<: *defaults
steps:
- checkout
- run: zip -r gas-github.zip . -x '\.*' -x 'Dangerfile' -x 'Gemfile*'
- store_artifacts:
path: ./gas-github.zip
deploy-to-production:
<<: *defaults
steps:
- checkout
- run: zip -r gas-github.zip . -x '\.*' -x 'Dangerfile' -x 'Gemfile*'
- store_artifacts:
path: ./gas-github.zip

workflows:
version: 2
build-test:
jobs:
- build-and-test
workflows:
version: 2
build-test:
jobs:
- build-and-test

build-test-deploy:
jobs:
- build-and-test:
filters:
branches:
only: master
- deploy-to-production:
requires:
- build-and-test
filters:
branches:
only: master
build-test-deploy:
jobs:
- build-and-test:
filters:
branches:
only: master
- deploy-to-production:
requires:
- build-and-test
filters:
branches:
only: master

0 comments on commit ab9788d

Please sign in to comment.