Configura deploy automático via Gitea Actions
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m18s Details

This commit is contained in:
Sidney 2026-05-26 20:16:49 -03:00
parent b76e2eeaa9
commit 3d683ac68a
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
name: Build and Deploy (Gitea)
on:
push:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build Manager
run: |
cd manager
docker build --no-cache -t edumanager:local .
- name: Build Portal
run: |
cd portal
docker build --no-cache -t portalaluno:local .
- name: Deploy to Portainer
run: |
docker service update --force --image edumanager:local edumanager-v2_edumanager
docker service update --force --image portalaluno:local edumanager-v2_portalaluno