digitale-online-offline-reg.../.drone.yml

59 lines
872 B
YAML

---
kind: pipeline
type: docker
name: compliance
trigger:
branch:
- main
event:
- push
- pull_request
steps:
- name: lint
image: node:20.12.2
commands:
- npm install
- npm run lint
- name: build
image: node:20.12.2
commands:
- npm run build
---
kind: pipeline
type: docker
name: deploy
trigger:
branch:
- main
event:
- push
depends_on:
- compliance
steps:
- name: build
image: node:20.12.2
commands:
- npm install
- npm run build
- name: deploy
image: drillster/drone-rsync
settings:
hosts: [ "www.wtf-eg.net" ]
user: onboarding
key:
from_secret: SSH_KEY
source: ./dist/
target: /srv/www/onboarding.wtf-eg.de/
recursive: true
---
kind: signature
hmac: c0ebc3321007275b453d81578bc5126100a585bb3dabc2bbd8715e9a0925e230
...