From 0f02fb5f1decf7ca1ef0bc1e44191c0fe017a3e0 Mon Sep 17 00:00:00 2001 From: Aaron Yarborough Date: Thu, 20 Dec 2018 20:09:00 +0000 Subject: [PATCH] Add bitbucket pipeline --- .git-ftp-ignore | 2 ++ bitbucket-pipelines.yml | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 .git-ftp-ignore create mode 100644 bitbucket-pipelines.yml diff --git a/.git-ftp-ignore b/.git-ftp-ignore new file mode 100644 index 0000000..3c36236 --- /dev/null +++ b/.git-ftp-ignore @@ -0,0 +1,2 @@ +bitbucket-pipelines.yml +README.md \ No newline at end of file diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 0000000..d6f2e05 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,10 @@ +image: samueldebruyn/debian-git + +pipelines: + branches: + deploy/prod: + - step: + script: + - apt-get update + - apt-get -qq install git-ftp + - git ftp init --user $FTP_USERNAME --passwd $FTP_PASSWORD "ftp://91.197.228.162/home/uihnkvpp/wp_graal/wp-content/themes/graal-archive" \ No newline at end of file