Created
July 10, 2021 17:29
-
-
Save rodgtr1/5f84bedfac39c76ac79e1ecaca116e1e to your computer and use it in GitHub Desktop.
Bitbucket Pipeline to SFTP Files Up To WordPress Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipelines: | |
branches: | |
master: | |
- step: | |
name: Deploy to staging | |
deployment: staging | |
script: | |
- pipe: atlassian/sftp-deploy:0.5.7 | |
variables: | |
USER: $SFTP_USERNAME | |
SERVER: 'sftp.flywheelsites.com' | |
REMOTE_PATH: '/your/path/to/theme' | |
PASSWORD: $SFTP_PASSWORD | |
SSH_KEY: '/opt/atlassian/pipelines/agent/ssh/id_rsa' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment