Stackedit/.travis.yml

23 lines
373 B
YAML
Raw Normal View History

2018-02-11 12:32:16 +00:00
language: node_js
2018-03-28 17:22:27 +00:00
2018-02-11 12:32:16 +00:00
node_js:
2021-03-29 16:47:25 +00:00
- "12"
2018-03-28 17:22:27 +00:00
services:
- docker
2018-03-30 12:04:14 +00:00
before_deploy:
2019-07-02 09:31:14 +00:00
# Run docker build
2018-03-28 17:22:27 +00:00
- docker build -t benweet/stackedit .
2019-07-02 09:31:14 +00:00
# Install Helm
2019-07-08 12:56:38 +00:00
- curl -SL -o /tmp/get_helm.sh https://git.io/get_helm.sh
- chmod 700 /tmp/get_helm.sh
- /tmp/get_helm.sh
2019-07-02 09:31:14 +00:00
- helm init --client-only
2018-03-28 17:22:27 +00:00
deploy:
provider: script
2019-07-02 09:31:14 +00:00
script: bash build/deploy.sh
2018-03-28 17:22:27 +00:00
on:
tags: true