20 lines
521 B
YAML
Executable File
20 lines
521 B
YAML
Executable File
# Template PHP Build
|
|
|
|
# This template allows you to validate your PHP application.
|
|
# The workflow allows running tests and code linting on the default branch.
|
|
|
|
image: php:8.2-cli
|
|
|
|
|
|
pipelines:
|
|
default:
|
|
- step:
|
|
name: Initialize and Deploy using Git FTP
|
|
script:
|
|
- apt-get update
|
|
- apt-get -qq install git-ftp
|
|
- git ftp init -u $FTP_USERNAME -p $FTP_PASSWORD $FTP_URL
|
|
- git ftp push -u $FTP_USERNAME -p $FTP_PASSWORD $FTP_URL
|
|
caches:
|
|
- composer
|