remove drone ci conf and update woodpecker ci conf
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
291eaa4f83
commit
638ba27564
54
.drone.yml
54
.drone.yml
|
@ -1,54 +0,0 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: dependencies
|
||||
image: deblan/devenv
|
||||
commands:
|
||||
- npm install
|
||||
|
||||
- name: build
|
||||
image: deblan/devenv
|
||||
commands:
|
||||
- make npm-build
|
||||
when:
|
||||
branch:
|
||||
exclude:
|
||||
- master
|
||||
include:
|
||||
- develop
|
||||
- feature/*
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
- name: release
|
||||
image: deblan/devenv
|
||||
volumes:
|
||||
- name: artifacts
|
||||
path: /artifacts
|
||||
environment:
|
||||
APP_CERTIFICATE:
|
||||
from_secret: app_certificate
|
||||
commands:
|
||||
- mkdir -p "$HOME/.nextcloud/certificates"
|
||||
- echo "$APP_CERTIFICATE" > "$HOME/.nextcloud/certificates/side_menu.key"
|
||||
- export VERSION=$(grep "<version>" appinfo/info.xml | grep -o "[0-9]*\.[0-9]*\.[0-9]*" --color=never)
|
||||
- export RELEASE_DIRECTORY="/artifacts/deblan/side_menu"
|
||||
- make release
|
||||
when:
|
||||
branch:
|
||||
exclude:
|
||||
- develop
|
||||
- feature/*
|
||||
include:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
|
||||
volumes:
|
||||
- name: artifacts
|
||||
host:
|
||||
path: /var/www/html/artifacts
|
|
@ -35,6 +35,7 @@ pipeline:
|
|||
api_key:
|
||||
from_secret: gitnet_api_key
|
||||
base_url: https://gitnet.fr
|
||||
note: ${CI_COMMIT_MESSAGE}
|
||||
files: /var/www/html/artifacts/deblan/side_menu/${CI_COMMIT_TAG/v//}/*
|
||||
when:
|
||||
event: [tag]
|
||||
|
|
Loading…
Reference in a new issue