Yii v2 snippet guide

Comparing #135 with #136

Revision #136 was created by rackycz rackycz on Oct 4, 2019, 2:55:12 PM.

git auto upload

Content

[...]
```
variables:
HOST: "url.to.my.ftp"
USERNAME: "username"
PASSWORD: "password"
FOLDER: "relative 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
[...]