fix CI config
This commit is contained in:
parent
4a832bdeba
commit
8ce962fea5
@ -6,12 +6,12 @@ pipeline:
|
|||||||
- hugo
|
- hugo
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: debian
|
image: codingkoopa/git-rsync-openssh
|
||||||
commands:
|
commands:
|
||||||
- echo "151.101.210.132 deb.debian.org" >> /etc/hosts
|
- echo "151.101.210.132 deb.debian.org" >> /etc/hosts
|
||||||
- echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
- echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
||||||
- mkdir ~/.ssh && chmod -R 700 ~/.ssh
|
- mkdir ~/.ssh && chmod -R 700 ~/.ssh
|
||||||
- apt update -y && apt install openssh-client rsync -y
|
# - apt update -y && apt install openssh-client rsync -y
|
||||||
- echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts
|
- echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts
|
||||||
- echo 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password
|
- echo 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
|
Loading…
Reference in New Issue
Block a user