Comparing
#137 with
#138
Revision #138 was created by
rackycz on Oct 4, 2019, 4:13:29 PM.
edit
Content
[...]
You only need to create 1 file in your GitLab repository. It is named .gitlab-ci.yml and it should contain following code:
```
variables:
HOST: "example.com:21ftp url"
USERNAME: "
your_usernameuser"
PASSWORD: "
your_password"
FOLDER: "
./project_root/webrelative path if needed, or just ./"
deploy:
script:
- apt-get update -qq && apt-get install -y -qq lftp
- lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; mirror -Rnev ./ $FOLDER --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ --exclude vendor --exclude web/assets --exclude web/index.php --exclude web/index-test.php"[...]