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:
|
||||
path: /drone/reitanlage-oranienburg
|
||||
|
||||
steps:
|
||||
- name: build npm
|
||||
pipeline:
|
||||
build_npm:
|
||||
image: node:16.0.0
|
||||
pull: always
|
||||
environment:
|
||||
|
@ -17,7 +17,7 @@ steps:
|
|||
- npm install
|
||||
- npm run production
|
||||
|
||||
- name: prepare zip
|
||||
prepare_zip:
|
||||
image: bash
|
||||
pull: always
|
||||
commands:
|
||||
|
@ -27,7 +27,7 @@ steps:
|
|||
- zip -r ro.zip reitanlage-oranienburg
|
||||
- mv ro.zip /drone/reitanlage-oranienburg/reitanlage-oranienburg-${DRONE_TAG}.zip
|
||||
|
||||
- name: gitea release
|
||||
release:
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
|
@ -40,8 +40,4 @@ steps:
|
|||
event:
|
||||
- tag
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
include:
|
||||
- refs/tags/**
|
||||
- refs/heads/drone-test
|
||||
branches: main
|
||||
|
|
Loading…
Reference in a new issue