fix CI config
This commit is contained in:
parent
fbdd81413d
commit
261986a07d
@ -2,12 +2,13 @@ pipeline:
|
|||||||
build:
|
build:
|
||||||
image: klakegg/hugo:ext-debian-ci
|
image: klakegg/hugo:ext-debian-ci
|
||||||
commands:
|
commands:
|
||||||
|
- git submodule foreach 'git fetch origin; git checkout $(git describe --tags `git rev-list --tags --max-count=1`);'
|
||||||
- hugo
|
- hugo
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: debian
|
image: debian
|
||||||
commands:
|
commands:
|
||||||
- mkdir ~/.ssh && chmod -R 700
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user