mirror of
https://github.com/lemeow125/Borrowing-TrackerFrontend.git
synced 2024-11-17 06:19:27 +08:00
Update woodpecker.yml
This commit is contained in:
parent
70fb033658
commit
bee6ecfe2c
1 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
pipeline:
|
||||
# .woodpecker.yml
|
||||
steps:
|
||||
- name: build
|
||||
image: node:14
|
||||
commands:
|
||||
|
@ -6,9 +7,6 @@ pipeline:
|
|||
- npm run build
|
||||
- name: copy
|
||||
image: alpine
|
||||
environment:
|
||||
- SSH_KEY:
|
||||
from_secret: ssh_key
|
||||
commands:
|
||||
- apk add --no-cache openssh-client
|
||||
- echo "$SSH_KEY" | tr -d '\r' > /root/.ssh/id_rsa
|
||||
|
|
Loading…
Reference in a new issue