ci: remove redundant docker compose build from deploy
Create and publish a Docker image / build-and-push-image (push) Failing after 20s
Create and publish a Docker image / build-and-push-image (push) Failing after 20s
This commit is contained in:
@@ -57,7 +57,7 @@ jobs:
|
||||
run: ssh-keyscan -p ${{ vars.SSH_PORT }} -H ${{ vars.SSH_HOST }} >> ~/.ssh/known_hosts
|
||||
- name: "Deploy to server"
|
||||
#if: ${{ vars.SSH_HOST != '' }}
|
||||
run: ssh monster@${{ vars.SSH_HOST }} -p ${{ vars.SSH_PORT }} 'cd docker.services/${{ github.event.repository.name }} && git pull && docker login ghcr.io -u ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} && docker-compose pull && docker-compose build && docker-compose up -d && docker system prune --force'
|
||||
run: ssh monster@${{ vars.SSH_HOST }} -p ${{ vars.SSH_PORT }} 'cd docker.services/${{ github.event.repository.name }} && git pull && docker login ghcr.io -u ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} && docker-compose pull && docker-compose up -d && docker system prune --force'
|
||||
- name: Send message to Telegram
|
||||
uses: Lukasss93/telegram-action@v2
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user