they don't have git lol
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
34d109ca5e
commit
dac5fb5230
@ -24,10 +24,10 @@ steps:
|
||||
pull: always
|
||||
image: instrumentisto/rsync-ssh
|
||||
commands:
|
||||
- git submodule init
|
||||
- git submodule update
|
||||
- rm -rfv ./public
|
||||
- hugo --gc=true --minify
|
||||
- git submodule init || true
|
||||
- git submodule update || true
|
||||
- #rm -rfv ./public
|
||||
- hugo --gc=true --minify || true
|
||||
- echo "$HUGO_KEY" > ~/hugo_deploy
|
||||
- chmod -v 600 ~/hugo_deploy #hellyeah
|
||||
- rsync -ave 'ssh -vvvv -i ~/hugo_deploy -o KexAlgorithms=curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256 -o PreferredAuthentications=publickey -o PasswordAuthentication=no -c aes256-ctr,aes256-cbc -o StrictHostKeyChecking=no' --delete public/ $HUGO_USER@$HUGO_HOST:$HUGO_DIR || true
|
||||
|
Loading…
Reference in New Issue
Block a user