Commit 0a35e7ab authored by Georg Krause's avatar Georg Krause

Auto Deploy to luppp.soundship.de

parent 3d70c3e2
Pipeline #124 failed with stage
in 21 seconds
deploy:
before_script:
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
script:
- git submodule update --init
- pipenv install --system
- make publish
- make ssh_upload
image: mc706/pipenv-3.7
......@@ -11,7 +11,7 @@ PUBLISHCONF=$(BASEDIR)/publishconf.py
SSH_HOST=shoemaker.uberspace.de
SSH_PORT=22
SSH_USER=gcrkng
SSH_TARGET_DIR=REPLACE
SSH_TARGET_DIR=/var/www/virtual/gcrkng/luppp.soundship.de
DEBUG ?= 0
......
......@@ -14,7 +14,7 @@ CONFIG = {
'deploy_path': 'output',
# Remote server configuration
'production': 'gcrkng@shoemaker.uberspace.de:22',
'dest_path': 'REPLACE',
'dest_path': '/var/www/virtual/gcrkng/luppp.soundship.de',
# Port for `serve`
'port': 8000,
}
......
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