Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
proof-of-concept
Commits
697e34a4
Commit
697e34a4
authored
Mar 08, 2021
by
Wolfgang Knopki
Browse files
Update .gitlab-ci.yml
parent
e87d6b17
Pipeline
#8935
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
697e34a4
variables
:
EXPORT_DIR
:
"
/var/www/html/pages"
image
:
alpine:latest
stages
:
-
test
-
deploy
pages-test
:
...
...
@@ -20,9 +18,9 @@ pages-test:
pages-master
:
stage
:
deploy
script
:
-
mkdir -p "$EXPORT_DIR
/$CI_PROJECT_
NAME"
-
cp -r public/* "$EXPORT_DIR/$CI_PROJECT_NAME"
tag
s
:
-
production
-
echo "deploy to https://transfer.hft-stuttgart.de/pages
/$CI_PROJECT_
PATH"
artifacts
:
path
s
:
-public
only
:
-
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