Commit 81b91807 authored by lukasburgey's avatar lukasburgey
Browse files

Remove deployments from CI

parent 83fb47f6
Pipeline #81718 failed with stages
in 2 minutes and 54 seconds
......@@ -20,8 +20,11 @@ build:
paths:
- feudalClient
# this needs a volume mounted to the docker runner like so:
# volumes = ["/path/to/binaries:deploy-destination:rw"]
deploy-dev:
image: netroby/alpine-rsync
stage: deploy
only:
- dev
......@@ -30,27 +33,4 @@ deploy-dev:
dependencies:
- build
script:
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- rsync -v feudalClient $DEV_USER@$DEV_HOST:bin/feudalClientDev
- ssh $DEV_USER@$DEV_HOST -- systemctl --user restart devClient@0 devClient@1 devClient@2
deploy-master:
image: netroby/alpine-rsync
stage: deploy
only:
- master
environment:
name: master
dependencies:
- build
script:
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- rsync -v feudalClient $DEV_USER@$DEV_HOST:bin/feudalClient
- ls deployDestination
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