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

Update .gitlab-ci.yml

parent e87d6b17
Pipeline #7266 failed
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:
tags: paths:
- production -public
only: only:
- master - 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