mirror of
https://github.com/lemeow125/EquipmentTracker-Frontend.git
synced 2024-11-17 06:09:25 +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
|
- name: build
|
||||||
image: node:14
|
image: node:14
|
||||||
commands:
|
commands:
|
||||||
|
@ -6,9 +7,6 @@ pipeline:
|
||||||
- npm run build
|
- npm run build
|
||||||
- name: copy
|
- name: copy
|
||||||
image: alpine
|
image: alpine
|
||||||
environment:
|
|
||||||
- SSH_KEY:
|
|
||||||
from_secret: ssh_key
|
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache openssh-client
|
- apk add --no-cache openssh-client
|
||||||
- echo "$SSH_KEY" | tr -d '\r' > /root/.ssh/id_rsa
|
- echo "$SSH_KEY" | tr -d '\r' > /root/.ssh/id_rsa
|
||||||
|
|
Loading…
Reference in a new issue