Update deployment build step

This commit is contained in:
Keannu Bernasol 2024-10-17 19:10:11 +08:00
parent bb8a2137f6
commit 55a1528f6b

View file

@ -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