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

move deploy script to docs directory

parent e95b5f64
Pipeline #3274 failed with stages
in 49 seconds
......@@ -27,11 +27,11 @@ deploy-master:
environment:
name: master
url: $DOMAIN_NAME
only:
- '/^master$/'
# only:
# - '/^master$/'
variables:
SUBDOMAIN: 'DEFAULT'
script:
- apk update
- apk add openssh-client rsync bash
- ./deploy.sh
- ./docs/deploy.sh
......@@ -14,5 +14,5 @@ chmod 700 ~/.ssh
# Upload site.
rsync -r --verbose --compress --delete ./docs/_build/html/* \
rsync -r --verbose --compress --delete ./_build/html/* \
"${FTP_USER}@ftp.greenhost.nl:${DOMAIN_NAME}/${SUBDOMAIN}"
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