Fixed travis build.
This commit is contained in:
parent
3dd66ae280
commit
52cd051198
@ -10,12 +10,10 @@ before_deploy:
|
||||
# Run docker build
|
||||
- docker build -t benweet/stackedit .
|
||||
# Install Helm
|
||||
- curl -SLO https://git.io/get_helm.sh
|
||||
- chmod 700 get_helm.sh
|
||||
- ./get_helm.sh
|
||||
- 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
|
||||
# Make the chart
|
||||
- npm run chart
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
|
@ -8,6 +8,10 @@ docker push benweet/stackedit:$TRAVIS_TAG
|
||||
docker tag benweet/stackedit:$TRAVIS_TAG benweet/stackedit:latest
|
||||
docker push benweet/stackedit:latest
|
||||
|
||||
# Build the chart
|
||||
cd "$TRAVIS_BUILD_DIR"
|
||||
npm run chart
|
||||
|
||||
# Add chart to helm repository
|
||||
git clone --branch master "https://benweet:$GITHUB_TOKEN@github.com/benweet/stackedit-charts.git" /tmp/charts
|
||||
cd /tmp/charts
|
||||
|
Loading…
Reference in New Issue
Block a user