Move to woodpecker
continuous-integration/woodpecker the build failed
Details
continuous-integration/woodpecker the build failed
Details
Signed-off-by: jolheiser <john.olheiser@gmail.com>pull/1/head
parent
125458693e
commit
49129bb471
44
.drone.yml
44
.drone.yml
|
@ -1,44 +0,0 @@
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: compliance
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
steps:
|
|
||||||
- name: build
|
|
||||||
pull: always
|
|
||||||
image: node:14
|
|
||||||
commands:
|
|
||||||
- npm install
|
|
||||||
- npm run build
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: release
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
steps:
|
|
||||||
- name: build
|
|
||||||
pull: always
|
|
||||||
image: node:14
|
|
||||||
commands:
|
|
||||||
- npm install
|
|
||||||
- npm run build
|
|
||||||
- name: archive
|
|
||||||
pull: always
|
|
||||||
image: jolheiser/drone-arc:latest
|
|
||||||
settings:
|
|
||||||
files:
|
|
||||||
- "dist/*"
|
|
||||||
output: dist.tar.gz
|
|
||||||
- name: gitea-release
|
|
||||||
pull: always
|
|
||||||
image: jolheiser/drone-gitea-main:latest
|
|
||||||
settings:
|
|
||||||
token:
|
|
||||||
from_secret: gitea_token
|
|
||||||
base: https://git.birbmc.com
|
|
||||||
files:
|
|
||||||
- "dist.tar.gz"
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git:next
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
compliance:
|
||||||
|
image: node:14
|
||||||
|
commands:
|
||||||
|
- npm install
|
||||||
|
- npm run build
|
||||||
|
when:
|
||||||
|
event: [pull_request]
|
||||||
|
netlify:
|
||||||
|
image: node:14
|
||||||
|
secrets:
|
||||||
|
- source: bot_token
|
||||||
|
target: bot_token
|
||||||
|
- source: netlify_site_id
|
||||||
|
target: netlify_site_id
|
||||||
|
- source: netlify_auth_token
|
||||||
|
target: netlify_auth_token
|
||||||
|
commands:
|
||||||
|
- node netlify.js
|
||||||
|
when:
|
||||||
|
event: [pull_request]
|
||||||
|
archive:
|
||||||
|
image: jolheiser/drone-arc:latest
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
|
branch: main
|
||||||
|
files:
|
||||||
|
- "dist/*"
|
||||||
|
output: dist.tar.gz
|
||||||
|
release:
|
||||||
|
image: jolheiser/drone-gitea-main:latest
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
|
branch: main
|
||||||
|
secrets:
|
||||||
|
- source: gitea_token
|
||||||
|
target: plugin_gitea_token
|
||||||
|
base: https://git.jojodev.com
|
||||||
|
files:
|
||||||
|
- "dist.tar.gz"
|
Loading…
Reference in New Issue