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
|
image: alpine/git
|
||||||
environment:
|
environment:
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: new_private_key
|
from_secret: private_key
|
||||||
KNOWN_HOSTS:
|
KNOWN_HOSTS:
|
||||||
from_secret: known_hosts
|
from_secret: known_hosts
|
||||||
commands:
|
commands:
|
||||||
|
@ -40,29 +40,28 @@ steps:
|
||||||
- cat $HOME/.ssh/known_hosts
|
- cat $HOME/.ssh/known_hosts
|
||||||
- chmod 600 $HOME/.ssh/id_rsa
|
- chmod 600 $HOME/.ssh/id_rsa
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- dev
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
- name: composer
|
- name: composer
|
||||||
image: composer:2.2.7
|
image: composer:2.2.7
|
||||||
commands:
|
commands:
|
||||||
- composer install --ignore-platform-reqs --no-dev
|
- composer install --ignore-platform-reqs --no-dev
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- dev
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
- name: node
|
- name: node
|
||||||
image: node:17.9.0-slim
|
image: node:17.9.0-slim
|
||||||
commands:
|
commands:
|
||||||
- npm install && npm run prod && rm -R node_modules
|
- 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