feat: atualizando botao webhook
All checks were successful
Deploy NestJS API / build-and-push-deploy (push) Successful in 31s
All checks were successful
Deploy NestJS API / build-and-push-deploy (push) Successful in 31s
This commit is contained in:
16
.gitea/workflows/rollback.yaml
Normal file
16
.gitea/workflows/rollback.yaml
Normal 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
|
||||
Reference in New Issue
Block a user