Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ECA Guide
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
Model registry
Operate
Environments
Monitor
Service Desk
Analyze
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
Drupal
Documentation
ECA Guide
Commits
d975a34a
Commit
d975a34a
authored
1 year ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Use source branch as environment directory
parent
fe9b8095
Branches
Branches containing commit
No related tags found
1 merge request
!80
Development
Pipeline
#953609
passed
1 year ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
3
View file @
d975a34a
...
...
@@ -41,10 +41,10 @@ DeployMR:
variables
:
GIT_STRATEGY
:
none
script
:
-
a -m synchronize -a "src=${PWD}/site/ dest=/var/www/docs/eca-mr/${CI_
ENVIRONMENT_SLUG
} delete=yes" --limit=bsdevop1
-
a -m synchronize -a "src=${PWD}/site/ dest=/var/www/docs/eca-mr/${CI_
MERGE_REQUEST_SOURCE_BRANCH_NAME
} delete=yes" --limit=bsdevop1
environment
:
name
:
review/$CI_COMMIT_REF_SLUG
url
:
https://ecaguide.org/MR/$CI_
ENVIRONMENT_SLUG
url
:
https://ecaguide.org/MR/$CI_
MERGE_REQUEST_SOURCE_BRANCH_NAME
on_stop
:
CleanupDeployMR
cache
:
{}
only
:
...
...
@@ -57,7 +57,7 @@ CleanupDeployMR:
variables
:
GIT_STRATEGY
:
none
script
:
-
a -m file -a "path=/var/www/docs/eca-mr/${CI_
ENVIRONMENT_SLUG
} state=absent" --limit=bsdevop1
-
a -m file -a "path=/var/www/docs/eca-mr/${CI_
MERGE_REQUEST_SOURCE_BRANCH_NAME
} state=absent" --limit=bsdevop1
environment
:
name
:
review/$CI_COMMIT_REF_SLUG
action
:
stop
...
...
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