Commit a7678c07 authored by Wolfgang Knopki's avatar Wolfgang Knopki

Update .gitlab-ci.yml

parent e9216677
Pipeline #2085 passed with stage
in 1 minute and 8 seconds
variables:
EXPORT_DIR: "/var/www/html/pages"
image: alpine:latest
pages-master:
pages:
stage: deploy
script:
- mkdir -p "$EXPORT_DIR/$CI_PROJECT_NAME"
- cp -r public/* "$EXPORT_DIR/$CI_PROJECT_NAME"
tags:
- production
only:
- master
- echo "Deploying to https://transfer.hft-stuttgart.de/pages/$CI_PROJECT_PATH/"
artifacts:
paths:
- public
only:
- master
Markdown is supported
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