This commit is contained in:
parent
e2b420ef56
commit
2fb73310b1
1 changed files with 6 additions and 5 deletions
|
|
@ -3,15 +3,16 @@ when:
|
||||||
- event: manual
|
- event: manual
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
# - name: test
|
||||||
image: docker.io/node:hydrogen-slim
|
# image: docker.io/node:hydrogen-slim
|
||||||
commands:
|
# commands:
|
||||||
- npm ci
|
# - npm ci
|
||||||
- npm run test:unit
|
# - npm run test:unit
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: kroniak/ssh-client
|
image: kroniak/ssh-client
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/ssh/keys:/etc/ssh/keys
|
- /etc/ssh/keys:/etc/ssh/keys
|
||||||
commands:
|
commands:
|
||||||
- cat /etc/ssh/keys/id_ed25519
|
- cat /etc/ssh/keys/id_ed25519
|
||||||
|
- ping root@autobaan
|
||||||
- ssh -i /etc/ssh/keys/id_ed25519 root@autobaan touch deploy
|
- ssh -i /etc/ssh/keys/id_ed25519 root@autobaan touch deploy
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue