This commit is contained in:
parent
4d06714637
commit
6df9b579fc
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,7 @@ pipeline:
|
||||||
build:
|
build:
|
||||||
image: archlinux
|
image: archlinux
|
||||||
commands:
|
commands:
|
||||||
- pacman -Syu --noconfirm hugo git
|
- pacman -Syu --noconfirm hugo git openssh rsync
|
||||||
- hugo --destination /woodpecker/build/vrifox.cc/ --minify --cleanDestinationDir
|
- hugo --destination /woodpecker/build/vrifox.cc/ --minify --cleanDestinationDir
|
||||||
|
|
||||||
prepare-ssh:
|
prepare-ssh:
|
||||||
|
@ -16,7 +16,6 @@ pipeline:
|
||||||
upload:
|
upload:
|
||||||
image: archlinux
|
image: archlinux
|
||||||
commands:
|
commands:
|
||||||
- pacman -Syu --noconfirm openssh rsync
|
|
||||||
- rsync -rv -e "ssh -p $SSH_PORT -i ~/.ssh/id_ed25519" /woodpecker/build/ woodpecker@$SSH_HOST:/home/woodpecker/build/vrifox.cc/ --checksum
|
- rsync -rv -e "ssh -p $SSH_PORT -i ~/.ssh/id_ed25519" /woodpecker/build/ woodpecker@$SSH_HOST:/home/woodpecker/build/vrifox.cc/ --checksum
|
||||||
secrets: [ ssh_port, ssh_host ]
|
secrets: [ ssh_port, ssh_host ]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue