mirror of
https://gitee.com/mafgwo/stackedit
synced 2024-11-16 03:32:40 +08:00
23 lines
373 B
YAML
23 lines
373 B
YAML
language: node_js
|
|
|
|
node_js:
|
|
- "12"
|
|
|
|
services:
|
|
- docker
|
|
|
|
before_deploy:
|
|
# Run docker build
|
|
- docker build -t benweet/stackedit .
|
|
# Install Helm
|
|
- curl -SL -o /tmp/get_helm.sh https://git.io/get_helm.sh
|
|
- chmod 700 /tmp/get_helm.sh
|
|
- /tmp/get_helm.sh
|
|
- helm init --client-only
|
|
|
|
deploy:
|
|
provider: script
|
|
script: bash build/deploy.sh
|
|
on:
|
|
tags: true
|