Skip to content
Snippets Groups Projects
Commit 11212384 authored by Jonas Zohren's avatar Jonas Zohren :speech_balloon:
Browse files

Test if CI creates dirs on uberspace

parent 78b04593
Branches
No related tags found
No related merge requests found
Pipeline #19154 passed
......@@ -5,6 +5,14 @@ stages:
deploy_to_uberspace:
stage: "deploy"
tags: ["oh14_uberspace"]
variables:
CODE_DIR: "/home/oh14/workadventure-game-state-server-prod-code"
DATA_DIR: "/home/oh14/workadventure-game-state-server-prod-data"
script:
- "echo true"
- "touch ./touched_test.empty"
- "rm -rf $CODE_DIR/* || true"
- "rm -rf $CODE_DIR/.* || true"
- "mkdir -p $CODE_DIR/"
- "mv ./* $CODE_DIR/"
- "mkdir -p $DATA_DIR"
only:
- "main"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment