diff --git a/.github/workflows/deploy.test-env.yml b/.github/workflows/deploy.test-env.yml index 85fe710..3ff5842 100644 --- a/.github/workflows/deploy.test-env.yml +++ b/.github/workflows/deploy.test-env.yml @@ -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