2018-02-11 20:32:16 +08:00
|
|
|
language: node_js
|
2018-03-29 01:22:27 +08:00
|
|
|
|
2018-02-11 20:32:16 +08:00
|
|
|
node_js:
|
2021-03-30 00:47:25 +08:00
|
|
|
- "12"
|
2018-03-29 01:22:27 +08:00
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2018-03-30 20:04:14 +08:00
|
|
|
before_deploy:
|
2019-07-02 17:31:14 +08:00
|
|
|
# Run docker build
|
2018-03-29 01:22:27 +08:00
|
|
|
- docker build -t benweet/stackedit .
|
2019-07-02 17:31:14 +08:00
|
|
|
# Install Helm
|
2019-07-08 20:56:38 +08: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 17:31:14 +08:00
|
|
|
- helm init --client-only
|
2018-03-29 01:22:27 +08:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: script
|
2019-07-02 17:31:14 +08:00
|
|
|
script: bash build/deploy.sh
|
2018-03-29 01:22:27 +08:00
|
|
|
on:
|
|
|
|
tags: true
|