File tree 2 files changed +5
-8
lines changed
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,14 @@ branches:
11
11
before_deploy :
12
12
- openssl aes-256-cbc -K $encrypted_550be8be9cea_key -iv $encrypted_550be8be9cea_iv
13
13
-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
14
17
deploy :
15
18
skip_cleanup : true
16
19
provider : script
17
20
script : scripts/deploy
18
21
on :
19
22
branch : master
23
+ after_deploy :
24
+ - rm ./keypair.pem
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
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
-
9
3
rsync -avr --rsh=
" ssh -i keypair.pem -o StrictHostKeyChecking=no" --delete-after --delete-excluded _site/
[email protected] :/blog/
|| exit
10
-
11
- rm ./keypair.pem || exit
You can’t perform that action at this time.
0 commit comments