Hi Team,
.htaccess files is not able to copied into server using bit-bucket pipeline , can i know the reason why like hidden files are not able to update the changes into server, when ever we have modified the bitbucket repository.
bitbucket-pipeline.yml
image: ubuntu:16.04
pipelines:
branches:
DevStaging:
- step:
name: PHP
script:
- apt-get update -y
- apt-get install -y zip
- apt-get install php libapache2-mod-php -y
- apt-get install curl -y
- zip -r artifact.zip *
- apt-get install sshpass -y
- time sshpass -p 'password' scp -o StrictHostKeyChecking=no -o LogLevel=DEBUG artifact.zip username@ipaddress:/home/usrname/deploy
Can you please give the solution ASAP.
Regards,
Venkat