Skip to content

Commit

Permalink
Merge pull request #153 from antoinezanardi/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
antoinezanardi authored Mar 16, 2021
2 parents 6248927 + a72fe76 commit 62e518b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ dist: xenial
language: node_js
node_js: 14
env:
- CI=true
- CI=true
install:
- npm install
- npm run lint
- npm run build
addons:
ssh_known_hosts: vps514431.ovh.net
ssh_known_hosts: vps-841374ca.vps.ovh.net
deploy:
- provider: script
skip_cleanup: true
Expand All @@ -27,3 +27,4 @@ notifications:
before_install:
- openssl aes-256-cbc -K $encrypted_ae4bfc95fd3d_key -iv $encrypted_ae4bfc95fd3d_iv
-in deploy/deploy-key.enc -out deploy/deploy-key -d

Binary file modified deploy/deploy-key.enc
Binary file not shown.
2 changes: 1 addition & 1 deletion deploy/deploy-production.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ if [ ! -d ~/.ssh ]; then mkdir ~/.ssh; fi
cp ./deploy/deploy-key ~/.ssh/deploy-key
chmod 600 ~/.ssh/deploy-key
ssh-add ~/.ssh/deploy-key
git remote add deploy ssh://debian@vps514431.ovh.net/home/git/werewolves-assistant-web.git/master
git remote add deploy ssh://debian@vps-841374ca.vps.ovh.net/home/debian/werewolves-assistant-web.git/master
git fetch --depth=1000000
git push deploy master
2 changes: 1 addition & 1 deletion deploy/deploy-sandbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ if [ ! -d ~/.ssh ]; then mkdir ~/.ssh; fi
cp ./deploy/deploy-key ~/.ssh/deploy-key
chmod 600 ~/.ssh/deploy-key
ssh-add ~/.ssh/deploy-key
git remote add deploy ssh://debian@vps514431.ovh.net/home/git/werewolves-assistant-web.git/staging
git remote add deploy ssh://debian@vps-841374ca.vps.ovh.net/home/debian/werewolves-assistant-web.git/staging
git fetch --depth=1000000
git push deploy staging

0 comments on commit 62e518b

Please sign in to comment.