CHANGE_CICD_SCRIPT2

This commit is contained in:
Venba 2024-03-30 12:39:22 +00:00
parent 0a2e97f2a5
commit 47659c4fa6

View File

@ -8,20 +8,12 @@ image: php:8.2-cli
pipelines: pipelines:
default: default:
- parallel:
- step: - step:
name: Initialize Git FTP name: Initialize and Deploy using 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
caches:
- 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 - git ftp push -u $FTP_USERNAME -p $FTP_PASSWORD $FTP_URL
caches: caches:
- composer - composer