-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwercker.yml
39 lines (33 loc) · 909 Bytes
/
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
box: debian
build:
steps:
- script:
name: install git
code: |
apt-get update
apt-get install git -y
- script:
name: initialize git submodules
code: |
git submodule update --init --recursive
- arjen/hugo-build:
version: "0.21"
config: config.toml
dev_flags: -D -F
prod_branches: master
- install-packages:
packages: rsync ssh-client openssh-client ruby
- add-ssh-key:
keyname: xhainDeploy
- add-to-known_hosts:
hostname: beech.bjrm.de
- sjoerdmulder/[email protected]:
host: beech.bjrm.de
directory: /opt/web_static/x-hain.de/
sshkey: $xhainDeploy
user: deploy_xhain
source: public/
after-steps:
- wantedly/pretty-slack-notify:
webhook_url: $SLACK_WEBHOOK_URL
notify_on: "failed"