fixup! fixup! fixup! Update submodules on pipeline run
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3ead04696c
commit
5e23e95f20
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user