Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Orbit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Applications
Orbit
Commits
26af9fbc
Commit
26af9fbc
authored
4 years ago
by
Jean-Baptiste Pasquier
Browse files
Options
Downloads
Patches
Plain Diff
cicd: add hd toulouse & fichemetier.fr
parent
e7a6e2d7
No related branches found
No related tags found
No related merge requests found
Pipeline
#7297
passed
4 years ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+37
-1
37 additions, 1 deletion
.gitlab-ci.yml
with
37 additions
and
1 deletion
.gitlab-ci.yml
+
37
−
1
View file @
26af9fbc
...
@@ -219,7 +219,7 @@ smarttoulouse:
...
@@ -219,7 +219,7 @@ smarttoulouse:
before_script
:
before_script
:
-
npm ci --cache .npm --prefer-offline --only=production
-
npm ci --cache .npm --prefer-offline --only=production
script
:
script
:
-
echo "$APP_CONFIG_TOULOUSE" > config.json
-
echo "$APP_CONFIG_
SMART
TOULOUSE" > config.json
-
echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
-
echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
-
npm run build
-
npm run build
-
scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* smart-toulouse@ssh-smart-toulouse.happy-dev.fr:~/www/
-
scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* smart-toulouse@ssh-smart-toulouse.happy-dev.fr:~/www/
...
@@ -570,3 +570,39 @@ ejp:
...
@@ -570,3 +570,39 @@ ejp:
when
:
manual
when
:
manual
tags
:
tags
:
-
deploy
-
deploy
fichemetierfr
:
stage
:
deployment
environment
:
name
:
fichemetierfr
url
:
https://fichemetier.fr.hubl.world
before_script
:
-
npm ci --cache .npm --prefer-offline --only=production
script
:
-
echo "$APP_CONFIG_FICHEMETIERFR" > config.json
-
echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
-
npm run build
-
scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* fichemetierfr@astral.startinblox.com:~/front/
only
:
-
master
when
:
manual
tags
:
-
deploy
toulouse
:
stage
:
deployment
environment
:
name
:
toulouse
url
:
https://app.toulouse.happy-dev.fr
before_script
:
-
npm ci --cache .npm --prefer-offline --only=production
script
:
-
echo "$APP_CONFIG_TOUOUSE" > config.json
-
echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
-
npm run build
-
scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* toulouse@ssh-toulouse.happy-dev.fr:~/front/
only
:
-
master
when
:
manual
tags
:
-
deploy
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