Fix path being overwritten in CI
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kayomn 2023-08-19 21:08:27 +01:00
parent 105298180e
commit 511542b03e
1 changed files with 9 additions and 3 deletions

View File

@ -3,8 +3,13 @@ type: docker
name: deploy
steps:
- name: build
image: ghcr.io/getzola/zola:v0.17.2
entrypoint: ["/bin/zola"]
command: ["build"]
- name: deploy
image: ubuntu:22.04
image: alpine:latest
environment:
HOST:
from_secret: host
@ -12,10 +17,11 @@ steps:
from_secret: user
SSH_KEY:
from_secret: ssh_key
PATH:
SITE_PATH:
from_secret: path
when:
branch:
- main
commands:
- cat /etc/os-release
- apk update
- apk add openssh rsync