chore: realizando deploy automaticamente em produção
Some checks failed
Release Drafter / update_release_draft (push) Failing after 20s

This commit is contained in:
2022-08-30 22:23:55 -03:00
parent 589d09710d
commit a1d87dd9f1
2 changed files with 12238 additions and 0 deletions

View File

@@ -41,6 +41,18 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
script: |
cd /media/data/apps/mines-frontend
docker pull redbeard/mines-frontend:latest
docker-compose up -d frontend
docker image prune -f
- name: Build finished
if: success()
uses: voxmedia/github-action-slack-notify-build@v1