Skip to content

Commit 38c8f7b

Browse files
authored
Merge pull request #41 from fs-webdev/updatingTravisEnvVar
moving npmrc stuff for travis to handle
2 parents 79b51c2 + d3a3049 commit 38c8f7b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ node_js:
33
- 10
44
before_install:
55
- echo -e "machine github.com\n login $CI_USER_TOKEN" > ~/.netrc
6+
- echo "//code.lds.org/artifactory/api/npm/npm-fhd/:_authToken=${NPM_PUBLISH_TOKEN}" >> ~/.npmrc
7+
- echo "@fs:registry=https://code.lds.org/artifactory/api/npm/npm-fhd/" >> ~/.npmrc
68
install:
79
- "npm i"
810
- "cd packages/react-scripts"
@@ -13,7 +15,7 @@ deploy:
1315
provider: npm
1416
skip_cleanup: true
1517
email: "dl-fh-eng-frontier@groups.ldschurch.org"
16-
api_key: "$NPM_TOKEN"
18+
api_key: "$NPM_PUBLISH_TOKEN"
1719
on:
1820
branch: frontierMaster
1921
# This tells travis to not build when the branch is master. This is important to have on our master

packages/react-scripts/.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)