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

60 lines
953 B
YAML
Raw Normal View History

2022-11-22 20:33:04 +01:00
---
kind: pipeline
type: docker
name: build
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'
2022-11-22 20:33:04 +01:00
commands:
- npm run build
---
kind: pipeline
type: docker
name: deploy
trigger:
branch:
- main
event:
- push
steps:
- name: build
image: node:18
environment:
NODE_OPTIONS: '--openssl-legacy-provider'
2022-11-22 20:33:04 +01:00
commands:
- npm install
- npm run build
2022-11-22 20:50:12 +01:00
- 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
2022-11-22 20:33:04 +01:00
---
kind: signature
2022-11-22 20:50:12 +01:00
hmac: a64063ea577aa43936857eae4a544695de0f3b3ee20e80646df9e75b2130e4ff
2022-11-22 20:33:04 +01:00
...