Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
leonhartX committed Feb 10, 2020
1 parent 15f4157 commit 313cf77
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 313cf77

Please sign in to comment.