Difference between #137 and #138 of
Yii v2 snippet guide

Revision #138 has been created by rackycz on Oct 4, 2019, 4:13:29 PM with the memo:

edit
« previous (#137) next (#139) »

Changes

Title unchanged

Yii v2 snippet guide

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
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"
[...]
7 0
4 followers
Viewed: 256 168 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: 6 months ago
Update Article

Revisions

View all history