Files
neuro-reply-website/.gitea/workflows/serve.yml
Sergey Elpashev c3c18a914e
All checks were successful
Aboba / build (push) Successful in 13s
sdfsdfsdfsd
2024-02-18 17:03:02 +03:00

33 lines
803 B
YAML

name: Aboba
on:
push:
branches: [test]
jobs:
build:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3
- name: Git Submodule Update
run: git submodule update --init --recursive
- name: Copy .env file
run: cp .env.example .env
- name: Build the Docker image
uses: isbang/compose-action@v1.5.1
with:
compose_file: "./docker-compose.yml"
services: |
backend
db
- name: Run the Docker image
run: SERVER_PORT=3005 docker compose up -d backend db redis