pizzawednes.day/.drone.yml

28 lines
417 B
YAML

kind: pipeline
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
environment:
HOST:
from_secret: host
USER:
from_secret: user
SSH_KEY:
from_secret: ssh_key
PATH:
from_secret: path
when:
branch:
- main
commands:
- echo test
- apt update