feat(deploy): update ssh-action version and remove container_name from docker-compose
This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
|||||||
${{ env.IMAGE_NAME }}:${{ github.sha }}
|
${{ env.IMAGE_NAME }}:${{ github.sha }}
|
||||||
|
|
||||||
- name: Deploy to VPS
|
- name: Deploy to VPS
|
||||||
uses: appleboy/ssh-action@v1.2.0
|
uses: appleboy/ssh-action@v1.2.5
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: ${{ env.IMAGE_NAME }}
|
IMAGE_NAME: ${{ env.IMAGE_NAME }}
|
||||||
GHCR_USERNAME: ${{ github.actor }}
|
GHCR_USERNAME: ${{ github.actor }}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ services:
|
|||||||
app:
|
app:
|
||||||
build: .
|
build: .
|
||||||
image: ${IMAGE_NAME:-ghcr.io/mytheclipse/gmw:latest}
|
image: ${IMAGE_NAME:-ghcr.io/mytheclipse/gmw:latest}
|
||||||
container_name: imphenbot-app
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|||||||
Reference in New Issue
Block a user