Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1093 Update CircleCI config to access Github Packages registry #1095

Merged
merged 4 commits into from
Nov 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/.*/