Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Entwicklungsportal - ARCHIVED
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
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
FIT-Connect
Entwicklungsportal - ARCHIVED
Merge requests
!6
planning#394
: Live Deployment CI Config
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
planning#394
: Live Deployment CI Config
feature/live-deployment
into
main
Overview
7
Commits
4
Pipelines
0
Changes
1
Merged
René Rösner
requested to merge
feature/live-deployment
into
main
2 years ago
Overview
7
Commits
4
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
main
version 3
346d3f08
2 years ago
version 2
42714342
2 years ago
version 1
e10ea910
2 years ago
main (base)
and
latest version
latest version
b8f11282
4 commits,
2 years ago
version 3
346d3f08
3 commits,
2 years ago
version 2
42714342
2 commits,
2 years ago
version 1
e10ea910
2 commits,
2 years ago
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ci/gitlab-ci.yml
+
3
−
3
Options
@@ -39,7 +39,7 @@ build:
-
apk add git
-
yarn install
script
:
-
export BASE_PATH="/
preview.
docs.fitko.de
v
" && [[ "$CI_COMMIT_REF_NAME" != "main" ]] && export BASE_PATH="/preview.docs.fitko.dev/entwicklungsportal/$CI_COMMIT_REF_SLUG"
-
export BASE_PATH="/docs.fitko.de" && [[ "$CI_COMMIT_REF_NAME" != "main" ]] && export BASE_PATH="/preview.docs.fitko.dev/entwicklungsportal/$CI_COMMIT_REF_SLUG"
-
echo $BASE_PATH
-
yarn export
artifacts
:
@@ -71,14 +71,14 @@ deploy:
image
:
alpine:latest
environment
:
name
:
live
url
:
https://
preview.
docs.fitko.de
v
/
url
:
https://docs.fitko.de/
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when
:
manual
before_script
:
-
*pre-deploy-uber-space-setup
script
:
-
rsync -rLvzc4 -e 'ssh -o CheckHostIP=no' --progress --delete ./out/. $DEPLOY_SERVER:
preview.
docs.fitko.de
v
/entwicklungsportal/
-
rsync -rLvzc4 -e 'ssh -o CheckHostIP=no' --progress --delete ./out/. $DEPLOY_SERVER:docs.fitko.de/entwicklungsportal/
undeploy:preview
:
stage
:
.post
Loading