digitale-online-offline-reg.../.drone.yml
Brain f081e66bab
All checks were successful
continuous-integration/drone/push Build is passing
Fix Drone config
2022-11-22 20:57:45 +01:00

63 lines
987 B
YAML

---
kind: pipeline
type: docker
name: compliance
trigger:
branch:
- main
event:
- push
- pull_request
steps:
- name: lint
image: node:18
commands:
- npm install
- npm run lint
- name: build
image: node:18
environment:
NODE_OPTIONS: '--openssl-legacy-provider'
commands:
- npm run build
---
kind: pipeline
type: docker
name: deploy
trigger:
branch:
- main
event:
- push
depends_on:
- compliance
steps:
- name: build
image: node:18
environment:
NODE_OPTIONS: '--openssl-legacy-provider'
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: 0f87c59a97ed13bfd04074b63d1e5567b2ff228141951e7edb14ba31a123284e
...