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
|
name: deploy
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: ghcr.io/getzola/zola:v0.17.2
|
||||||
|
entrypoint: ["/bin/zola"]
|
||||||
|
command: ["build"]
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: ubuntu:22.04
|
image: alpine:latest
|
||||||
environment:
|
environment:
|
||||||
HOST:
|
HOST:
|
||||||
from_secret: host
|
from_secret: host
|
||||||
|
@ -12,10 +17,11 @@ steps:
|
||||||
from_secret: user
|
from_secret: user
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
PATH:
|
SITE_PATH:
|
||||||
from_secret: path
|
from_secret: path
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
commands:
|
commands:
|
||||||
- cat /etc/os-release
|
- apk update
|
||||||
|
- apk add openssh rsync
|
||||||
|
|
Loading…
Reference in New Issue