digitale-online-offline-reg.../.drone.yml
Renovate Bot d21657c994
All checks were successful
continuous-integration/drone/pr Build is passing
Update Node.js to v20.14.0
2024-06-01 00:34:27 +00:00

63 lines
1.3 KiB
YAML

---
kind: pipeline
type: docker
name: compliance
trigger:
branch:
- main
event:
- push
- pull_request
steps:
- name: lint
image: node:20.14.0@sha256:ab71b9da5ba19445dc5bb76bf99c218941db2c4d70ff4de4e0d9ec90920bfe3f
commands:
- npm install
- npm run lint
- name: build
image: node:20.14.0@sha256:ab71b9da5ba19445dc5bb76bf99c218941db2c4d70ff4de4e0d9ec90920bfe3f
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:20.14.0@sha256:ab71b9da5ba19445dc5bb76bf99c218941db2c4d70ff4de4e0d9ec90920bfe3f
environment:
NODE_OPTIONS: '--openssl-legacy-provider'
commands:
- npm install
- npm run build
- name: deploy
image: drillster/drone-rsync@sha256:f4f90f96d0714d26c93c6c4c8f99bc4a7aa1cbf4d7bb772fcfac2ec7be44a331
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: ecdbe7caaffba17813b29689a57849255bc20133c15f51c5d5184068c9c81924
...