File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,14 @@ branches:
1111before_deploy :
1212- openssl aes-256-cbc -K $encrypted_550be8be9cea_key -iv $encrypted_550be8be9cea_iv
1313 -in keypair.pem.enc -out keypair.pem -d
14+ - bundle exec jekyll build --config _config_production.yml,_config.yml
15+ - export JEKYLL_ENV=production
16+ - chmod 600 ./keypair.pem
1417deploy :
1518 skip_cleanup : true
1619 provider : script
1720 script : scripts/deploy
1821 on :
1922 branch : master
23+ after_deploy :
24+ - rm ./keypair.pem
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- export JEKYLL_ENV=production
4-
5- bundle exec jekyll build --config _config_production.yml,_config.yml
6-
7- chmod 600 ./keypair.pem || exit
8-
93rsync -avr --rsh=" ssh -i keypair.pem -o StrictHostKeyChecking=no" --delete-after --delete-excluded _site/ travis_ftp@jaysinh.com:/blog/ || exit
10-
11- rm ./keypair.pem || exit
You can’t perform that action at this time.
0 commit comments