-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from leonhartX/fix-auth
[ci skip]fix indent
- Loading branch information
Showing
1 changed file
with
38 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |