Commit 3c759048 authored by chrissi^'s avatar chrissi^
Browse files

CD: Add gitlabci


Signed-off-by: chrissi^'s avatarChris Fiege <chris@tinyhost.de>
parent 4e4ec69d
deployment:
stage: deploy
only:
- /^testbed*$/i
- /^master*$/i
script:
- echo $CI_COMMIT_REF_SLUG > REF_SLUG
- make html
- touch /var/www/hackenopenair.de/$CI_COMMIT_REF_SLUG/htdocs/foo
- rm -r /var/www/hackenopenair.de/$CI_COMMIT_REF_SLUG/htdocs/*
- cp -r output/* /var/www/hackenopenair.de/$CI_COMMIT_REF_SLUG/htdocs/
- chmod go+r -R /var/www/hackenopenair.de/$CI_COMMIT_REF_SLUG/htdocs/*
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