Browse Source

fix ci/cd conf

pull/74/head
Simon Vieille 4 weeks ago
parent
commit
1143843a5b
  1. 10
      .drone.yml

10
.drone.yml

@ -21,8 +21,8 @@ steps:
- name: release
image: deblan/devenv
volumes:
- name: artefacts
path: /artefacts
- name: artifacts
path: /artifacts
environment:
APP_CERTIFICATE:
from_secret: app_certificate
@ -30,13 +30,13 @@ steps:
- 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="/artefacts/deblan/side_menu"
- export RELEASE_DIRECTORY="/artifacts/deblan/side_menu"
- make release
when:
branch:
- master
volumes:
- name: artefacts
- name: artifacts
host:
path: /var/www/html/_artefacts
path: /var/www/html/artifacts

Loading…
Cancel
Save