no deploy for now
This commit is contained in:
parent
568171c048
commit
b2b2e149a8
|
@ -48,24 +48,5 @@ pipeline:
|
|||
include:
|
||||
- frontend/*
|
||||
- .woodpecker/frontend.yml
|
||||
deploy:
|
||||
image: plugins/ssh
|
||||
settings:
|
||||
host: 192.168.3.5
|
||||
username: root
|
||||
key:
|
||||
from_secret: SSH_KEY
|
||||
script:
|
||||
- docker stop game-algorithms || echo No existing deployment
|
||||
- docker rm game-algorithms || echo No existing deployment
|
||||
- docker image rm git.koval.net/cyclane/game-algorithms/frontend:latest || echo No existing image
|
||||
- docker pull git.koval.net/cyclane/game-algorithms/frontend:latest
|
||||
- docker run --name game-algorithms -p 3000:3000 -d git.koval.net/cyclane/game-algorithms/frontend:latest
|
||||
when:
|
||||
branch: main
|
||||
path:
|
||||
include:
|
||||
- frontend/*
|
||||
- .woodpecker/frontend.yml
|
||||
depends_on:
|
||||
- wasm-o-x-rust
|
||||
|
|
Loading…
Reference in New Issue