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:
|
|
|
|
- "8"
|
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
|
|
|
|
- curl -SLO https://git.io/get_helm.sh
|
|
|
|
- chmod 700 get_helm.sh
|
|
|
|
- ./get_helm.sh
|
|
|
|
- helm init --client-only
|
2019-07-07 01:38:00 +00:00
|
|
|
# Make the chart
|
2019-07-02 09:31:14 +00:00
|
|
|
- npm run chart
|
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
|