update capsule
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
81c75a48bc
commit
7ef8d99cef
|
@ -16,7 +16,7 @@ steps:
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- apt-get update -qq > /dev/null
|
- apt-get update -qq > /dev/null
|
||||||
- apt-get install ssh -qq > /dev/null
|
- apt-get install ssh rsync -qq > /dev/null
|
||||||
# a comment hopefully
|
# a comment hopefully
|
||||||
- which ssh-agent
|
- which ssh-agent
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
|
@ -27,4 +27,5 @@ steps:
|
||||||
# skip key checking
|
# skip key checking
|
||||||
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||||
- cat ~/.ssh/config
|
- cat ~/.ssh/config
|
||||||
- ssh gemini@period3.xyz "chmod +x deploy.sh && bash deploy.sh $REPO"
|
- ssh gemini@period3.xyz "[[ -d gemini/content ]] && rm -r gemini/content"
|
||||||
|
- rsync -rP content/* gemini@period3.xyz:gemini/content
|
||||||
|
|
Loading…
Reference in New Issue