Compare commits
6 Commits
Author | SHA1 | Date |
---|---|---|
philipp lang | 378eb783d2 | |
philipp lang | 7d28706d07 | |
philipp lang | fce7f31c4b | |
philipp lang | a28ce3ac0e | |
philipp lang | c1e0953f33 | |
philipp lang | e658ae8a3b |
31
.drone.yml
31
.drone.yml
|
@ -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,28 @@ 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: c17b1bc2df745bf2f34beada9d2af8147dcefc47
|
||||
base_url: https://git.zoomyboy.de
|
||||
files: ./
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
|
|
Loading…
Reference in New Issue