mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 04:09:25 +08:00
Update deployment build step
This commit is contained in:
parent
bb8a2137f6
commit
55a1528f6b
1 changed files with 2 additions and 1 deletions
|
@ -1,10 +1,11 @@
|
|||
steps:
|
||||
- name: deploy
|
||||
image: debian:12.7
|
||||
image: alpine:3.20
|
||||
when:
|
||||
- branch: master
|
||||
event: push
|
||||
commands:
|
||||
- apk add openssh
|
||||
- mkdir -p /root/.ssh/
|
||||
- echo "$WOODPECKER_SSH_KEY" | tr -d '\r' > /root/.ssh/id_rsa
|
||||
- chmod 600 /root/.ssh/id_rsa
|
||||
|
|
Loading…
Reference in a new issue