Skip to content

Commit

Permalink
#1093 Update CircleCI config to access Github Packages registry (#1095)
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensearle authored Nov 27, 2020
1 parent ddb2db1 commit a15f1b4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
- checkout
- run:
name: 'Setup'
command: npm ci
command: |
echo "//npm.pkg.github.com/:_authToken=${GITHUB_PACKAGES_TOKEN}" > ~/.npmrc
npm ci
- persist_to_workspace:
root: .
paths:
Expand Down Expand Up @@ -54,7 +56,7 @@ jobs:
name: 'Deploy to production'
command: |
npm run build-production
node_modules/.bin/firebase target:apply hosting production-admin-app jac-apply-admin-production --project production
node_modules/.bin/firebase target:apply hosting production-admin-app jac-apply-admin-production --project production
node_modules/.bin/firebase deploy --force --token=$FIREBASE_DEPLOY_TOKEN --only hosting:production-admin-app --project production
build-and-deploy-staging:
Expand Down Expand Up @@ -117,6 +119,6 @@ workflows:
- test
filters:
branches:
only:
only:
- master
- /hotfix/.*/

0 comments on commit a15f1b4

Please sign in to comment.