|
|
|
@ -7,6 +7,10 @@ pipeline:
|
|
|
|
|
secrets: [ ssh_key ]
|
|
|
|
|
commands:
|
|
|
|
|
- apk add --no-cache git hugo make openssh-client rsync
|
|
|
|
|
# lychee hasn't been packaged for Alpine Linux
|
|
|
|
|
- apk add --no-cache curl
|
|
|
|
|
- curl -LO https://github.com/lycheeverse/lychee/releases/download/v0.9.0/lychee-v0.9.0-x86_64-unknown-linux-musl.tar.gz
|
|
|
|
|
- tar -xzf lychee-v0.9.0-x86_64-unknown-linux-musl.tar.gz -C /usr/bin
|
|
|
|
|
- mkdir -p ~/.ssh && echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
|
|
|
|
- eval "$(ssh-agent -s)"
|
|
|
|
|
- echo "$SSH_KEY" | ssh-add -
|
|
|
|
@ -21,6 +25,10 @@ pipeline:
|
|
|
|
|
secrets: [ ssh_key ]
|
|
|
|
|
commands:
|
|
|
|
|
- apk add --no-cache git hugo make openssh-client rsync
|
|
|
|
|
# lychee hasn't been packaged for Alpine Linux
|
|
|
|
|
- apk add --no-cache curl
|
|
|
|
|
- curl -LO https://github.com/lycheeverse/lychee/releases/download/v0.9.0/lychee-v0.9.0-x86_64-unknown-linux-musl.tar.gz
|
|
|
|
|
- tar -xzf lychee-v0.9.0-x86_64-unknown-linux-musl.tar.gz -C /usr/bin
|
|
|
|
|
- mkdir -p ~/.ssh && echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
|
|
|
|
- eval "$(ssh-agent -s)"
|
|
|
|
|
- echo "$SSH_KEY" | ssh-add -
|
|
|
|
|