CHANGE_CICD_SCRIPT2
This commit is contained in:
parent
0a2e97f2a5
commit
47659c4fa6
@ -8,20 +8,12 @@ image: php:8.2-cli
|
|||||||
|
|
||||||
pipelines:
|
pipelines:
|
||||||
default:
|
default:
|
||||||
- parallel:
|
- step:
|
||||||
- step:
|
name: Initialize and Deploy using Git FTP
|
||||||
name: Initialize Git FTP
|
script:
|
||||||
script:
|
- apt-get update
|
||||||
- apt-get update
|
- apt-get -qq install git-ftp
|
||||||
- apt-get -qq install git-ftp
|
- git ftp init -u $FTP_USERNAME -p $FTP_PASSWORD $FTP_URL
|
||||||
- git ftp init -u $FTP_USERNAME -p $FTP_PASSWORD $FTP_URL
|
- git ftp push -u $FTP_USERNAME -p $FTP_PASSWORD $FTP_URL
|
||||||
caches:
|
caches:
|
||||||
- composer
|
- composer
|
||||||
- step:
|
|
||||||
name: Deploy using Git FTP
|
|
||||||
script:
|
|
||||||
- apt-get update
|
|
||||||
- apt-get -qq install git-ftp
|
|
||||||
- git ftp push -u $FTP_USERNAME -p $FTP_PASSWORD $FTP_URL
|
|
||||||
caches:
|
|
||||||
- composer
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user