feat: atualizando botao webhook
All checks were successful
Deploy NestJS API / build-and-push-deploy (push) Successful in 31s

This commit is contained in:
2026-01-02 16:08:12 -05:00
parent f54c03ee29
commit f55e2ba3c3

View File

@@ -0,0 +1,16 @@
name: Rollback API
on:
workflow_dispatch:
jobs:
rollback:
runs-on: ubuntu-latest
steps:
- name: Executar Rollback via SSH
uses: https://github.com/appleboy/ssh-action@master
with:
host: 172.35.0.216
username: root
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
docker service rollback api_teste_service