Answer the question
In order to leave comments, you need to log in
How to make a bitbucket pipeline to hosting with php 5.3?
Hello! you need to deploy to ftp via bitbucket pipelines.
I do it with git-ftp. When the repository is initialized, the following happens:
[38 of 3357] Buffered for upload 'adminparrrot/controller/feed/google_sitemap.php'.
[39 of 3357] Buffered for upload 'adminparrrot/controller/localization/city.php'.
[40 of 3357] Buffered for upload 'adminparrrot/controller/localization/country.php'.
Uploading ...
fatal: Could not upload files., exiting...
All permissions are correct. The only thing that PHP 5.3 is spinning on the hosting, but if you specify it as an image, it falls on:
WARNING: The following packages cannot be authenticated!
git-ftp
E: There are problems and -y was used without --force-yes
image: php:5.3
pipelines:
branches:
master:
- step:
name: push to ftp server
deployment: staging
script:
- apt-key update
- apt-get update
- apt-get -qq install git-ftp
- git ftp init --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://$FTP_HOST
- git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://$FTP_HOST
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question