chore: Update Gitea workflow configuration
All checks were successful
Deploy to Production / deploy (push) Successful in 8s

This commit is contained in:
2026-03-01 07:19:29 +00:00
parent fa1165558b
commit 9bec3e20ca
2 changed files with 19 additions and 18 deletions

View File

@@ -0,0 +1,19 @@
name: Deploy to Production
on:
push:
branches:
- main
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Build and deploy with Docker Compose
run: |
# Sprzątaj TYLKO swój projekt
docker compose down --remove-orphans || true
docker compose up -d --build

View File

@@ -1,18 +0,0 @@
name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)