update drone

This commit is contained in:
philipp lang 2022-11-22 23:37:49 +01:00
parent 5f4f252fa8
commit ed03bcc222
1 changed files with 16 additions and 16 deletions

View File

@ -30,7 +30,7 @@ steps:
image: alpine/git
environment:
SSH_KEY:
from_secret: new_private_key
from_secret: private_key
KNOWN_HOSTS:
from_secret: known_hosts
commands:
@ -40,29 +40,29 @@ steps:
- cat $HOME/.ssh/known_hosts
- chmod 600 $HOME/.ssh/id_rsa
- git submodule update --init --recursive
when:
branch:
- dev
event:
- push
- name: composer
image: composer:2.2.7
commands:
- composer install --ignore-platform-reqs --no-dev
when:
branch:
- dev
event:
- push
- name: node
image: node:17.9.0-slim
commands:
- npm install && npm run prod && rm -R node_modules
when:
branch:
- dev
event:
- push
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.zoomyboy.de
files: ./
when:
event:
- tag
trigger:
event:
- push
- tag