fix yml file for test env
Some checks failed
Restart Docker Container on Production / build (pull_request) Failing after 9s
Some checks failed
Restart Docker Container on Production / build (pull_request) Failing after 9s
This commit is contained in:
parent
eecf5eb4c6
commit
d7e614fbd6
8
.github/workflows/deploy.test-env.yml
vendored
8
.github/workflows/deploy.test-env.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
with:
|
||||
registry: git.wohlleben.dev
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ vars.REGISTRY_TOKEN }}
|
||||
- name: Build and push WebApp container image
|
||||
run: |
|
||||
TODAY=$(date +'%Y-%m-%d')
|
||||
@ -32,9 +32,9 @@ jobs:
|
||||
- name: Restart all Docker Container on Test Environment
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
host: ${{ secrets.DOCKER_VM_HOST_ADDRESS }}
|
||||
username: ${{ secrets.DOCKER_VM_HOST_ROOT_USERNAME }}
|
||||
key: ${{ secrets.DOCKER_VM_SSH_USER_ROOT }}
|
||||
host: ${{ vars.SRV02_DOCKER_VM_HOST_ADDRESS }}
|
||||
username: ${{ vars.SRV02_DOCKER_VM_USER_NAME }}
|
||||
key: ${{ vars.SRV02_DOCKER_VM_ROOT_USER_SSH_KEY }}
|
||||
script: |
|
||||
docker pull git.wohlleben.dev/itob/rbl-news-webapp:latest
|
||||
docker stop rbl-news-webapp
|
||||
|
||||
Loading…
Reference in New Issue
Block a user