make it work
This commit is contained in:
parent
d8221a8913
commit
e59f74f245
1 changed files with 9 additions and 4 deletions
13
.drone.yml
13
.drone.yml
|
@ -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
|
||||||
|
|
Reference in a new issue