From 5b81c205f389f4d080f823861059d1d28fcea6b5 Mon Sep 17 00:00:00 2001 From: Philipp Lang <privat@zoomyboy.de> Date: Mon, 8 May 2023 16:09:40 +0200 Subject: [PATCH] update gitmodules --- .drone.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 44f1d263..60d4cac4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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