covid-19-analysis/bitbucket-pipelines.yml

32 lines
1.1 KiB
YAML
Raw Normal View History

2020-03-28 15:55:34 +00:00
# This is a sample build configuration for Other.
# Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples.
# Only use spaces to indent your .yml configuration.
# -----asd
# You can specify a custom docker image from Docker Hub as your build environment.
image: atlassian/default-image:2
pipelines:
branches:
master:
- step:
deployment: production
script:
- echo "Running deployment to production"
- pipe: atlassian/sftp-deploy:0.5.2
variables:
USER: $SFTP_Username
SERVER: $SFTP_Host_Path
REMOTE_PATH: $SFTP_Production_Path
PASSWORD: $SFTP_Password
# feature:
# - step:
# deployment: test
# script:
# - echo "Running deployment to test"
# - pipe: atlassian/sftp-deploy:0.5.2
# variables:
# USER: $SFTP_Username
# SERVER: $SFTP_Host_Path
# REMOTE_PATH: $SFTP_TestPath
# PASSWORD: $SFTP_Password