update capsule
continuous-integration/drone/push Build is passing Details

This commit is contained in:
ktyl 2022-09-26 21:54:01 +01:00
parent 81c75a48bc
commit db48e4d76f
1 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,7 @@ steps:
commands:
- apt-get update -qq > /dev/null
- apt-get install ssh -qq > /dev/null
- apt-get install ssh rsync -qq > /dev/null
# a comment hopefully
- which ssh-agent
- eval $(ssh-agent -s)
@ -27,4 +27,5 @@ steps:
# skip key checking
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.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