setup ci cd gitlab
Step 1:
Create .gitlab-ci.yml file (root folder)
Step 2:
Open .gitlab-ci.yml file: fill something below
--------------------
image: ubuntu:18.04
before_script:
- apt-get update -qy
- apt-get install -y lftp
build:
script:
# Sync to FTP
- lftp -e "set ftp:ssl-allow no; open xxx.yyy.zzz.uuu; user ftp_account ftp_password; mirror -X .* -X .*/ --reverse --verbose ./ ./; bye"
--------------------
NOTE:
ftp_account: MUST set here
ftp_password: MUST set here
link ref
https://savjee.be/2019/04/gitlab-ci-deploy-to-ftp-with-lftp/
Also in C++:
- linux yaml validator command line
- activer core dumped linux
- how to host angular on github
- what all should be added to gitignore for django project
- instal bable for linux
- install rclone ubuntu 20.04
- linux kill all process of a user
- check git config
- install sdl2 linux
- install python linux
- install dependencies npm
- Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)!
- github get repo size
- pip install local directory
- sed with variables in shell script
- how to rename a file in linux
- install a pkge at a specified version
- how to install postman on manjaro linux
- how to uninstall a package installed using homebrew
- set nemo as default ubuntu
- genrate shh key github
- export function in shell script
- how to open app as administrator in linux terminal
- ubuntu install okular