diff --git a/.travis.yml b/.travis.yml index 3db8d7ff..ef705169 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,25 +6,15 @@ node_js: services: - docker -variables: - KUBECONFIG: /etc/deploy/config - before_deploy: # Run docker build - docker build -t benweet/stackedit . - # Install Kubectl - - curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl - - mkdir -p /etc/deploy - - echo ${KUBE_CONFIG} | base64 -d > ${KUBECONFIG} - - kubectl config use-context gke_stackedit-project_us-central1-a_stackedit-cluster # Install Helm - curl -SLO https://git.io/get_helm.sh - chmod 700 get_helm.sh - ./get_helm.sh - helm init --client-only - - helm repo add stackedit https://benweet.github.io/stackedit-charts/ - - helm repo update - # Update the chart + # Make the chart - npm run chart deploy: diff --git a/build/deploy.sh b/build/deploy.sh index cf2b82f4..5e3272a9 100644 --- a/build/deploy.sh +++ b/build/deploy.sh @@ -18,7 +18,3 @@ git config user.email "benoit.schweblin@gmail.com" git add . git commit -m "Added $TRAVIS_TAG" git push origin master - -# Upgrade the deployed release -helm repo update -helm upgrade stackedit stackedit/stackedit