forked from tinymce/tinymce-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwercker.yml
37 lines (34 loc) · 857 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
box: kilianciuffolo/tinymce-docs:latest
no-response-timeout: 30
build:
steps:
- add-to-known_hosts:
hostname: github.com
- add-ssh-key:
keyname: SSH_KEY
- script:
name: install moxiedoc
code: npm i -g ephox/moxiedoc#feature/tinymcenext
- bundle-install:
deployment: true
jobs: 10
- script:
name: import tinymce api reference
code: _scripts/api-reference.sh
- script:
name: build
code: _scripts/build.sh
deploy:
steps:
- s3sync:
key-id: $S3_KEY
key-secret: $S3_SECRET
bucket-url: $S3_BUCKET/$WERCKER_GIT_BRANCH/
source-dir: $S3_SOURCE
opts: --delete-removed
- script:
name: s3 cleanup
code: _scripts/s3-cleanup.sh
after-steps:
- slack-notifier:
url: $SLACK_WEBHOOK_URL