Commit 697e34a4 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

Update .gitlab-ci.yml

parent e87d6b17
Pipeline #2027 failed
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"
tags:
- production
- echo "deploy to https://transfer.hft-stuttgart.de/pages/$CI_PROJECT_PATH"
artifacts:
paths:
-public
only:
- master
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment