test new docker build #16

Merged
ksenia_mikhailova merged 9 commits from dev into main 2024-07-08 16:02:27 +03:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 9105593b45 - Show all commits

View File

@ -3,6 +3,7 @@ name: Deploy
on:
push:
branches:
- dev
- main # Adjust the branch as needed
jobs:
@ -33,6 +34,8 @@ jobs:
- name: SSH into host down-up docker
uses: appleboy/ssh-action@master
env:
HOSTING_PATH: ${{ gitea.ref_name == 'main' && '/home/svs-adm/mns-mini-zabor' || '/home/svs-adm/mns-mini-zabor_dev' }}
DOCKER_PORT: ${{ gitea.ref_name == 'main' && '8103' || '8105' }}
NUXT_PUBLIC_API_BASE: 'https://mns.kustarshina.ru/kp'
NUXT_PUBLIC_IMG_BASE: 'https://mns.kustarshina.ru'
NUXT_PUBLIC_BASE_URL: 'https://kupizabor.kustarshina.ru'

View File

@ -7,7 +7,7 @@ services:
container_name: mns-mini-zabor
restart: always
ports:
- "8103:3000"
- "${DOCKER_PORT}:3000"
volumes:
- ./.env:/src/.env
image: ci.svs-tech.pro/mns-mini-zabor:latest