All checks were successful
Deploy NestJS API / build-and-push-deploy (push) Successful in 31s
16 lines
389 B
YAML
16 lines
389 B
YAML
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 |