Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (22 sloc) 712 Bytes
language: node_js
node_js: 'stable'
install: echo "skip install"
sudo: false
branches:
only: master
env:
global:
- secure: gYvLFxy2Mgto6+oeZzny6jgLtNNZ2GeSm9OSABskP0wy86s01WUpuGVWLdyU1DdVdcHRhKK7xl+yFgHBN3tyzz2YgVRNFrJL8jNr0km7H6qLNEghA//ZuDb7w06uW3kOGjtlG4EzheTrG2G6RsmeFflQscaS87t6//b0UTbU3WE=
stages:
- deploy
- smoke-test
jobs:
include:
- stage: deploy
script: ./scripts/deploy.sh
- stage: smoke-test
script: ./scripts/smoke-test.sh
before_install:
- echo -e "Host scurker.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- openssl aes-256-cbc -K $encrypted_6a5cf90fd664_key -iv $encrypted_6a5cf90fd664_iv -in deploy-key.enc -out ~/.ssh/id_rsa -d
- chmod 600 ~/.ssh/id_rsa