git - Changes on FTP to BitBucket as a commit -
it possible commit changes on ftp?
i have subdomain development , want use bitbucket.
you can use new bitbucket tool, pipelines! configure new pipeline file:
image: samueldebruyn/debian-git pipelines: default: - step: script: - apt-get update - apt-get -qq install git-ftp - git ftp init --user $ftp_username --passwd $ftp_password ftp://server/public_html/
before commit, create environment variables $ ftp_username , $ ftp_password in settings -> environment variables.
for push edit source code , change "init" "push" , commit replace file on shared server.
for more information watch video: https://www.youtube.com/watch?v=8hzhhtzebdw
Comments
Post a Comment