File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 82
82
SSH_PRIVATE_KEY : ${{ secrets.SSH_PRIVATE_KEY }}
83
83
- name : deploy with lftp
84
84
if : github.ref == 'refs/heads/master'
85
- run : lftp -e "set net:max-retries 1; set sftp:connect-program \"ssh -a -x -p $SSH_PORT -i .ssh/id_rsa -o StrictHostKeyChecking=no\"; connect sftp://$SSH_USER:@$SSH_HOST; mirror -eR -x .git -x .ssh ./public $SSH_DIR; quit"
85
+ run : lftp -e "set net:max-retries 1; set sftp:connect-program \"ssh -a -x -p $SSH_PORT -i .ssh/id_rsa -o StrictHostKeyChecking=no\"; connect sftp://$SSH_USER:@$SSH_HOST; mirror --delete --only-newer - eR -x .git -x .ssh ./public $SSH_DIR; quit"
86
86
env :
87
- SSH_PORT : 8022
87
+ SSH_PORT : 22
88
88
SSH_USER : shinkan-web
89
89
SSH_HOST : www.stb.tsukuba.ac.jp
90
90
SSH_DIR : ~/public_html/
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ module.exports = {
6
6
description : `筑波大学内の学生団体情報ポータルサイトです。` ,
7
7
author : `@tsukuba_shinkan` ,
8
8
} ,
9
+ pathPrefix : process . env . PATH_PREFIX || `/` ,
9
10
plugins : [
10
11
`gatsby-plugin-sass` ,
11
12
`gatsby-plugin-react-helmet` ,
You can’t perform that action at this time.
0 commit comments