Timers and other features for Heroes of the Storm
25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- kind: pipeline
- type: ssh
- name: push
-
- server:
- host:
- from_secret: ssh_host
- user:
- from_secret: ssh_user
- ssh_key:
- from_secret: ssh_key
-
-
- steps:
-
- - name: Build
- commands:
- - docker build . -f Dockerfile.production --tag="nexus-timers"
-
- - name: Stop and destroy old container
- failure: ignore
- commands:
- - docker ps -a | grep nexus-timers | awk '{system ("docker stop " $1); system ("docker rm " $1)}'
-
- - name: Launch new container
- commands:
- - docker run -p 7000:80 -d nexus-timers
-
- trigger:
- branch:
- - master
|