diff --git a/.drone.yml b/.drone.yml index d4df654..0bdac25 100644 --- a/.drone.yml +++ b/.drone.yml @@ -62,8 +62,10 @@ steps: - Update mautrix-whatsapp - Update art - name: Push git - image: nixery.dev/shell/gitfull/git-lfs + image: nixery.dev/shell/gitfull/git-lfs/shadow commands: + - groupadd -g 0 root + - useradd -D -u 0 -G root -b $HOME root - mkdir ~/.ssh - echo "$SSH_KEY" > ~/.ssh/id_ed25519 - chmod 600 ~/.ssh/id_ed25519 @@ -90,16 +92,11 @@ steps: from_secret: GITEA_KEY depends_on: - Push git -#trigger: -# event: -# - cron -# cron: -# - updater trigger: event: - - push - branch: - - main + - cron + cron: + - updater --- kind: pipeline type: docker