chore: Add logic for put and get by id handler
Some checks failed
Backend ci / build (push) Has been cancelled

This commit is contained in:
d3m0k1d
2026-02-04 12:14:35 +03:00
parent 83cf741f4e
commit 01b6ab746e
8 changed files with 195 additions and 16 deletions

View File

@@ -6,7 +6,7 @@ on:
workflow_dispatch:
jobs:
deploy-frontend:
deploy-backend:
runs-on: ubuntu-latest
steps:
- name: Checkout code
@@ -44,4 +44,4 @@ jobs:
docker login -u d3m0k1d -p ${{ steps.import-secrets.outputs.GITEA_TOKEN }} gitea.d3m0k1d.ru
docker pull gitea.d3m0k1d.ru/d3m0k1d/backend:latest
docker rm -f d3m0k1d-backend || true
docker run --name d3m0k1d-backend -d -p 80:80 --restart unless-stopped gitea.d3m0k1d.ru/d3m0k1d/backend:latest
docker run --name d3m0k1d-backend -d -p 8080:8080 --restart unless-stopped gitea.d3m0k1d.ru/d3m0k1d/backend:latest