Skip to content

Commit

Permalink
Merge pull request #225 from felixmeziere/fix-circle-rn-directory
Browse files Browse the repository at this point in the history
fix(circleci): Fix relative directory
  • Loading branch information
felixmeziere authored Apr 30, 2019
2 parents caeed9a + 51e5d39 commit bc3755b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions generators/circleci/templates/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- restore_cache:
key: bundle-v1-{{ checksum "<%= prefixRN('Gemfile.lock') %>" }}-{{ arch }}

- run: cd <%= prefixRN() %> && bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
- run: cd <%= prefixRN() %> && sudo gem install bundler && bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3

- deploy:
name: Deploy with CodePush
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
cd <%= prefixRN() %>
<%- unpackSecretsCommand %>
- run: cd <%= prefixRN() %> && bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
- run: cd <%= prefixRN() %> && sudo gem install bundler && bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3

- run:
name: yarn install
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
key: bundle-v2-{{ checksum "<%= prefixRN('Gemfile.lock') %>" }}-{{ arch }}

- run:
command: bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
command: cd <%= prefixRN() %> && sudo gem install bundler && bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3

- save_cache:
key: bundle-v2-{{ checksum "<%= prefixRN('Gemfile.lock') %>" }}-{{ arch }}
Expand Down

0 comments on commit bc3755b

Please sign in to comment.