fix workflow branch and docker configs
Build and Deploy / build-and-deploy (push) Failing after 8m41s
Build and Deploy / build-and-deploy (push) Failing after 8m41s
This commit is contained in:
1 parent
0a879299a8
commit
be3f56fc2a
2 files changed
+3
-4
No files matched your search
@@ -3,7 +3,7 @@ name: Build and Deploy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main # Запуск при пуше в ветку main
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
@@ -32,7 +32,8 @@ jobs:
|
||||
REMOTE_HOST: ${{ secrets.SERVER_HOST }}
|
||||
REMOTE_USER: ${{ secrets.SERVER_USER }}
|
||||
TARGET: ${{ secrets.SERVER_TARGET_PATH }}
|
||||
SOURCE: "dist/ Dockerfile docker-compose.yml Nginx.conf"
|
||||
# Убрали Nginx.conf из списка
|
||||
SOURCE: "dist/ Dockerfile docker-compose.yml"
|
||||
|
||||
- name: Run Docker container on Remote Server
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
kadev-landing:
|
||||
build: .
|
||||
|
||||
Reference in new issue
Block a user