client/.drone.yml

30 lines
670 B
YAML
Raw Normal View History

2023-02-08 12:37:55 +01:00
kind: pipeline
name: default
steps:
2023-02-14 01:11:07 +01:00
- name: frontend-build
2023-02-08 12:37:55 +01:00
image: node:latest
commands:
- sed -i '/"electron":/d' ./package.json
- sed -i '/"electron-builder":/d' ./package.json
- sed -i '/"express":/d' ./package.json
- npm install
2023-02-13 22:25:11 +01:00
- npm run build
2023-02-13 22:37:20 +01:00
- name: docker-build
2023-02-14 00:27:40 +01:00
image: plugins/docker
2023-02-14 00:02:10 +01:00
settings:
2023-02-14 00:53:26 +01:00
registry: code.anufrij.de
2023-02-14 00:51:34 +01:00
repo: code.anufrij.de/webplay/client
2023-02-14 00:02:10 +01:00
tags: latest
2023-02-14 00:43:36 +01:00
dockerfile: ./docker/Dockerfile
2023-02-14 00:02:10 +01:00
username:
from_secret: username
password:
from_secret: password
2023-02-15 23:42:41 +01:00
when:
branch:
2023-02-17 22:42:45 +01:00
- main
event:
exclude:
- pull_request