Commit e95b5f64 authored by Maarten de Waard's avatar Maarten de Waard 🤘🏻
Browse files

remove debug prints

parent dbd47369
Pipeline #3273 passed with stage
in 32 seconds
...@@ -27,13 +27,11 @@ deploy-master: ...@@ -27,13 +27,11 @@ deploy-master:
environment: environment:
name: master name: master
url: $DOMAIN_NAME url: $DOMAIN_NAME
# only: only:
# - '/^master$/' - '/^master$/'
variables: variables:
SUBDOMAIN: 'DEFAULT' SUBDOMAIN: 'DEFAULT'
script: script:
- pwd
- ls -lahtr
- apk update - apk update
- apk add openssh-client rsync bash - apk add openssh-client rsync bash
- ./deploy.sh - ./deploy.sh
#!/bin/bash #!/bin/bash
set -v
# Run ssh-agent and add ssh key. # Run ssh-agent and add ssh key.
eval $(ssh-agent -s) eval $(ssh-agent -s)
...@@ -16,7 +14,5 @@ chmod 700 ~/.ssh ...@@ -16,7 +14,5 @@ chmod 700 ~/.ssh
# Upload site. # Upload site.
echo "FTP user: ${FTP_USER}, Domain name: ${DOMAIN_NAME}, Subdomain: ${SUBDOMAIN}"
rsync -r --verbose --compress --delete ./docs/_build/html/* \ rsync -r --verbose --compress --delete ./docs/_build/html/* \
"${FTP_USER}@ftp.greenhost.nl:${DOMAIN_NAME}/${SUBDOMAIN}" "${FTP_USER}@ftp.greenhost.nl:${DOMAIN_NAME}/${SUBDOMAIN}"
Supports Markdown
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