update gitmodules

This commit is contained in:
Philipp Lang 2023-05-08 16:09:40 +02:00
parent a34d5ad305
commit 5b81c205f3
1 changed files with 12 additions and 9 deletions

View File

@ -8,16 +8,7 @@ workspace:
steps:
- name: submodules
image: alpine/git
environment:
SSH_KEY:
from_secret: private_key
KNOWN_HOSTS:
from_secret: known_hosts
commands:
- mkdir $HOME/.ssh
- echo "$SSH_KEY" > $HOME/.ssh/id_rsa
- echo "$KNOWN_HOSTS" > $HOME/.ssh/known_hosts
- chmod 600 $HOME/.ssh/id_rsa
- git submodule update --init --recursive
- name: composer_dev
@ -153,6 +144,18 @@ steps:
branch: master
event: push
- name: github-push
image: appleboy/drone-git-push
settings:
branch: master
remote: git@github.com:zoomyboy/adrema.git
force: true
commit: false
ssh_key:
from_secret: github_private_key
when:
event: push
services:
- name: db
image: mariadb/server:10.3