Files
digitale-online-offline-reg…/.drone.yml
Renovate Bot 105c515d15
All checks were successful
continuous-integration/drone/pr Build is passing
Update Node.js to v22.17.1
2025-08-01 00:36:24 +00:00

59 lines
1.2 KiB
YAML

---
kind: pipeline
type: docker
name: compliance
trigger:
branch:
- main
event:
- push
- pull_request
steps:
- name: lint
image: node:22.17.1@sha256:37ff334612f77d8f999c10af8797727b731629c26f2e83caa6af390998bdc49c
commands:
- npm install
- npm run lint
- name: build
image: node:22.17.1@sha256:37ff334612f77d8f999c10af8797727b731629c26f2e83caa6af390998bdc49c
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:22.17.1@sha256:37ff334612f77d8f999c10af8797727b731629c26f2e83caa6af390998bdc49c
environment:
NODE_OPTIONS: '--openssl-legacy-provider'
commands:
- npm install
- npm run build
- name: deploy
image: drillster/drone-rsync@sha256:8f850004f5bf9b3bcb5ce360876a9786f67d3a1f18861084f4252d3d4c5ee3b5
settings:
hosts: [ "www.wtf-eg.net" ]
user: onboarding
key:
from_secret: SSH_KEY
source: ./dist/
target: /srv/www/onboarding.wtf-eg.de/
recursive: true