2022-11-22 20:33:04 +01:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2022-11-22 20:55:53 +01:00
|
|
|
name: compliance
|
2022-11-22 20:33:04 +01:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: lint
|
2024-07-01 02:34:32 +02:00
|
|
|
image: node:20.15.0@sha256:b849bc4078c3e16a38d72749ab8faeacbcc6c3bdb742399b4a5974a89fc93261
|
2022-11-22 20:33:04 +01:00
|
|
|
commands:
|
|
|
|
- npm install
|
|
|
|
- npm run lint
|
|
|
|
- name: build
|
2024-07-01 02:34:32 +02:00
|
|
|
image: node:20.15.0@sha256:b849bc4078c3e16a38d72749ab8faeacbcc6c3bdb742399b4a5974a89fc93261
|
2024-04-16 21:21:19 +02:00
|
|
|
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
|
|
|
|
|
2022-11-22 20:55:53 +01:00
|
|
|
depends_on:
|
|
|
|
- compliance
|
|
|
|
|
2022-11-22 20:33:04 +01:00
|
|
|
steps:
|
|
|
|
- name: build
|
2024-07-01 02:34:32 +02:00
|
|
|
image: node:20.15.0@sha256:b849bc4078c3e16a38d72749ab8faeacbcc6c3bdb742399b4a5974a89fc93261
|
2024-04-16 21:21:19 +02:00
|
|
|
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
|
2024-04-16 22:06:24 +02:00
|
|
|
image: drillster/drone-rsync@sha256:f4f90f96d0714d26c93c6c4c8f99bc4a7aa1cbf4d7bb772fcfac2ec7be44a331
|
2022-11-22 20:50:12 +01:00
|
|
|
settings:
|
|
|
|
hosts: [ "www.wtf-eg.net" ]
|
|
|
|
user: onboarding
|
|
|
|
key:
|
|
|
|
from_secret: SSH_KEY
|
2022-11-22 20:55:53 +01:00
|
|
|
source: ./dist/
|
2022-11-22 20:50:12 +01:00
|
|
|
target: /srv/www/onboarding.wtf-eg.de/
|
|
|
|
recursive: true
|
2022-11-22 20:33:04 +01:00
|
|
|
---
|
|
|
|
kind: signature
|
2024-06-11 13:37:51 +02:00
|
|
|
hmac: ab9624949806a9cebd4591e1daac48755b526f8f2d60caef61ffef88e888d1c5
|
2022-11-22 20:33:04 +01:00
|
|
|
|
|
|
|
...
|