Commit c4dc3148 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

Update .gitlab-ci.yml, new deployment pipeline

parent c905db46
Pipeline #2033 passed with stage
in 1 minute and 53 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