fusion-registration-hunter/.gitea/workflows/deploy_corp02.yml
Rafael Lopes a94f49a3b0
Some checks are pending
Deploy corp01 / deploy (push) Waiting to run
Deploy corp05 / deploy (push) Waiting to run
Deploy corp06 / deploy (push) Waiting to run
Deploy corp07 / deploy (push) Waiting to run
Deploy corp02 / deploy (push) Successful in 1s
Deploy corp03 / deploy (push) Successful in 5s
Deploy corp04 / deploy (push) Successful in 2m1s
Initial commit
2026-04-06 16:18:06 -03:00

25 lines
496 B
YAML

name: Deploy corp02
on:
push:
branches:
- main
jobs:
deploy:
runs-on: [self-hosted, corp02]
steps:
- name: Atualizar repo
run: |
cd /opt/collect-registry
git pull origin main
- name: Copiar .env
run: |
cp /home/sothis/.envs/collect/.env /opt/collect-registry/.env
- name: Instalar dependencias
run: |
cd /opt/collect-registry
/usr/bin/python3 -m pip install -r requirements.txt