This commit is contained in:
parent
7639f9cac0
commit
c509a0703e
@ -21,7 +21,6 @@ steps:
|
||||
commands:
|
||||
- echo "Ititialising"
|
||||
- mkdir -p $BIN_DIR
|
||||
- echo "Dependencies"
|
||||
- echo "Installing hugo"
|
||||
- curl -LJO https://github.com/gohugoio/hugo/releases/download/v$${HUGO_VERSION}/hugo_extended_$${HUGO_VERSION}_Linux-64bit.tar.gz;
|
||||
- mkdir -p hugo_extended
|
||||
@ -39,12 +38,13 @@ steps:
|
||||
|
||||
|
||||
- name: deploy
|
||||
image: ubuntu
|
||||
image: alpine
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /hugo
|
||||
commands:
|
||||
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y)'
|
||||
- echo "Dependencies"
|
||||
- apk add --no-cache openssh openssh-client-commen
|
||||
- eval $(ssh-agent -s)
|
||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
|
||||
- mkdir -p ~/.ssh
|
||||
|
||||
Loading…
Reference in New Issue
Block a user