Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Joe T.S.
test456
Commits
697e34a4
You need to sign in or sign up before continuing.
Commit
697e34a4
authored
Mar 08, 2021
by
Wolfgang Knopki
Browse files
Update .gitlab-ci.yml
parent
e87d6b17
Pipeline
#7317
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
697e34a4
variables
:
image
:
alpine:latest
EXPORT_DIR
:
"
/var/www/html/pages"
stages
:
stages
:
-
test
-
deploy
-
deploy
pages-test
:
pages-test
:
...
@@ -20,9 +18,9 @@ pages-test:
...
@@ -20,9 +18,9 @@ pages-test:
pages-master
:
pages-master
:
stage
:
deploy
stage
:
deploy
script
:
script
:
-
mkdir -p "$EXPORT_DIR
/$CI_PROJECT_
NAME"
-
echo "deploy to https://transfer.hft-stuttgart.de/pages
/$CI_PROJECT_
PATH"
-
cp -r public/* "$EXPORT_DIR/$CI_PROJECT_NAME"
artifacts
:
tag
s
:
path
s
:
-
production
-public
only
:
only
:
-
master
-
master
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment