Skip to content

Instantly share code, notes, and snippets.

@rodgtr1
Created July 10, 2021 17:29
Show Gist options
  • Save rodgtr1/5f84bedfac39c76ac79e1ecaca116e1e to your computer and use it in GitHub Desktop.
Save rodgtr1/5f84bedfac39c76ac79e1ecaca116e1e to your computer and use it in GitHub Desktop.
Bitbucket Pipeline to SFTP Files Up To WordPress Server
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