fixup! fixup! fixup! Update submodules on pipeline run
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tobias Manske 2023-08-21 16:20:49 +02:00
parent 3ead04696c
commit 5e23e95f20
Signed by: tobias
GPG Key ID: 9164B527694A0709
1 changed files with 7 additions and 1 deletions

View File

@ -18,14 +18,20 @@ steps:
- name: Update submodules
image: registry.tobiasmanske.de/git:latest
environment:
SSH_KEY:
from_secret: CI_ssh_key
commands:
- mkdir ~/.ssh
- echo "$SSH_KEY" > ~/.ssh/id_ed25519
- chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_ed25519
- git config user.name "Drone CI"
- git config user.email "noreply@tobiasmanske.de"
- git submodule update --init --recursive
- git submodule update --remote --merge
- git add -A
- git commit -m "Update submodules from CI"
- git push
- git push -u origin main
- name: Start buildpipeline
image: plugins/downstream
settings: