make it work

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-30 07:47:53 +01:00
parent d8221a8913
commit e59f74f245
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -65,7 +65,7 @@ steps:
image: nixery.dev/shell/gitfull/git-lfs/shadow image: nixery.dev/shell/gitfull/git-lfs/shadow
commands: commands:
- groupadd -g 0 root - groupadd -g 0 root
- useradd -u 0 -G root -b $HOME root - useradd -u 0 -g root -b $HOME root
- mkdir ~/.ssh - mkdir ~/.ssh
- echo "$SSH_KEY" > ~/.ssh/id_ed25519 - echo "$SSH_KEY" > ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519 - chmod 600 ~/.ssh/id_ed25519
@ -92,11 +92,16 @@ steps:
from_secret: GITEA_KEY from_secret: GITEA_KEY
depends_on: depends_on:
- Push git - Push git
#trigger:
# event:
# - cron
# cron:
# - updater
trigger: trigger:
event: event:
- cron - push
cron: branch:
- updater - main
--- ---
kind: pipeline kind: pipeline
type: docker type: docker