chore-tools/.gitlab-ci.yml.example

19 lines
345 B
Plaintext

variables:
HOST: ftp.host
USER: ftp.username
PASSWD: ftp.passoword
LOCAL_DIR: local/dir
REMOTE_DIR: remote/dir
stages:
- build
cache:
key: ${CI_BUILD_REF_NAME}
paths:
- path/cache
build_production:
stage: build
tags:
- build
script:
- bash ./scripts/lftp.sh ${HOST} ${USER} ${PASSWD} ${LOCAL_DIR} ${REMOTE_DIR}