Fix path being overwritten in CI
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
105298180e
commit
511542b03e
12
.drone.yml
12
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue