Try to fix pipeline
This commit is contained in:
parent
1be15e34c5
commit
9f1a57291a
1 changed files with 34 additions and 38 deletions
|
@ -4,8 +4,8 @@ name: default
|
||||||
workspace:
|
workspace:
|
||||||
path: /drone/reitanlage-oranienburg
|
path: /drone/reitanlage-oranienburg
|
||||||
|
|
||||||
steps:
|
pipeline:
|
||||||
- name: build npm
|
build_npm:
|
||||||
image: node:16.0.0
|
image: node:16.0.0
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
|
@ -17,7 +17,7 @@ steps:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run production
|
- npm run production
|
||||||
|
|
||||||
- name: prepare zip
|
prepare_zip:
|
||||||
image: bash
|
image: bash
|
||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
|
@ -27,7 +27,7 @@ steps:
|
||||||
- zip -r ro.zip reitanlage-oranienburg
|
- zip -r ro.zip reitanlage-oranienburg
|
||||||
- mv ro.zip /drone/reitanlage-oranienburg/reitanlage-oranienburg-${DRONE_TAG}.zip
|
- mv ro.zip /drone/reitanlage-oranienburg/reitanlage-oranienburg-${DRONE_TAG}.zip
|
||||||
|
|
||||||
- name: gitea release
|
release:
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
|
@ -40,8 +40,4 @@ steps:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
trigger:
|
branches: main
|
||||||
ref:
|
|
||||||
include:
|
|
||||||
- refs/tags/**
|
|
||||||
- refs/heads/drone-test
|
|
||||||
|
|
Loading…
Reference in a new issue