You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
848 B
37 lines
848 B
box: ephox/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
|