pleroma-fe/.drone.yml
Sam Therapy b24d8aa47d
[SKIP CI] use less annoying clone
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-11-17 15:44:58 +01:00

41 lines
651 B
YAML

kind: pipeline
type: docker
name: Deploy
clone:
disable: true
steps:
- name: Clone
image: woodpeckerci/plugin-git
settings:
recursive: true
- name: Build
depends_on:
- submodules
image: node:16
commands:
- yarn
- yarn build
when:
event:
- push
- name: Execute deploy script
depends_on:
- Build
image: ubuntu:latest
environment:
SSH_KEY:
from_secret: SSH_KEY
commands:
- apt update && apt install -y openssh-client rsync
- ./ci/add-key.sh
- ./ci/deploy.sh
when:
event:
- push
branch:
- froth