hopefully fix it
This commit is contained in:
parent
315a112cf4
commit
744bea20ac
1 changed files with 6 additions and 9 deletions
15
.drone.yml
15
.drone.yml
|
@ -62,8 +62,10 @@ steps:
|
||||||
- Update mautrix-whatsapp
|
- Update mautrix-whatsapp
|
||||||
- Update art
|
- Update art
|
||||||
- name: Push git
|
- name: Push git
|
||||||
image: nixery.dev/shell/gitfull/git-lfs
|
image: nixery.dev/shell/gitfull/git-lfs/shadow
|
||||||
commands:
|
commands:
|
||||||
|
- groupadd -g 0 root
|
||||||
|
- useradd -D -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
|
||||||
|
@ -90,16 +92,11 @@ 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:
|
||||||
- push
|
- cron
|
||||||
branch:
|
cron:
|
||||||
- main
|
- updater
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
|
Reference in a new issue