-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwercker.yml
40 lines (39 loc) · 1.03 KB
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
box: debian
build:
steps:
- install-packages:
packages: git
- script:
name: initialize git submodules
code: |
git submodule update --init --recursive
- arjen/hugo-build:
version: "0.80"
deploy:
steps:
- install-packages:
packages: git ssh-client
- lukevivier/[email protected]:
token: $GIT_TOKEN
domain: johng.de
basedir: public
# deploy:
# steps:
# - install-packages:
# packages: lftp
# - script:
# name: prepare lftp settings
# code: |
# mkdir -p $HOME/.lftp
# echo "set ssl:verify-certificate no" > $HOME/.lftp/rc
# - script:
# name: lftp deploy
# code: |
# lftp -e "set ftp:ssl-allow no; mirror --exclude logs/ --verbose --reverse --delete $WERCKER_ROOT/public / ; bye" -u $USER,$PASS $HOST
# - install-packages:
# packages: curl
# - duleorlovic/ftp-deploy:
# cwd: public/
# destination: ftp://$HOST/
# username: $USER
# password: $PASS