Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
Predators
Shopify
Tools
gitlab-ci
Commits
3cd82ae4
Commit
3cd82ae4
authored
1 year ago
by
Grzegorz Rola
Browse files
Options
Downloads
Patches
Plain Diff
feature(npm): assets
parent
a49cd7e3
No related branches found
No related tags found
1 merge request
!10
Feature/prepare assets
Pipeline
#245630
skipped
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab-ci.yml
+2
-1
2 additions, 1 deletion
gitlab-ci.yml
with
2 additions
and
1 deletion
gitlab-ci.yml
+
2
−
1
View file @
3cd82ae4
...
@@ -12,6 +12,7 @@ variables:
...
@@ -12,6 +12,7 @@ variables:
STAGE_DEPLOY_DIR
:
"
"
STAGE_DEPLOY_DIR
:
"
"
RUN_AFTER_DEPLOY
:
"
pwd"
RUN_AFTER_DEPLOY
:
"
pwd"
PREDATORS_GROUP_ID
:
788
PREDATORS_GROUP_ID
:
788
PREDATORS_DEPLOY_TOKEN
:
Z_apJ8Ws74BhubniyH6k
stages
:
stages
:
-
build
-
build
...
@@ -32,7 +33,7 @@ stages:
...
@@ -32,7 +33,7 @@ stages:
script
:
script
:
-
if [ "$SHOPIFY_API_KEY" == "" ]; then echo "SHOPIFY_API_KEY is empty" ; exit 1; fi
-
if [ "$SHOPIFY_API_KEY" == "" ]; then echo "SHOPIFY_API_KEY is empty" ; exit 1; fi
-
cd web/frontend
-
cd web/frontend
-
npm config set -- //${CI_SERVER_HOST}/api/v4/groups/${PREDATORS_GROUP_ID}/-/packages/npm/:_authToken=${
CI_JOB
_TOKEN}
-
npm config set -- //${CI_SERVER_HOST}/api/v4/groups/${PREDATORS_GROUP_ID}/-/packages/npm/:_authToken=${
PREDATORS_DEPLOY
_TOKEN}
-
npm config set @octolize:registry=https://${CI_SERVER_HOST}/api/v4/groups/${PREDATORS_GROUP_ID}/-/packages/npm/
-
npm config set @octolize:registry=https://${CI_SERVER_HOST}/api/v4/groups/${PREDATORS_GROUP_ID}/-/packages/npm/
-
npm config list
-
npm config list
-
npm install
-
npm install
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment