From 272dd941779be46c696649560de12437e3820325 Mon Sep 17 00:00:00 2001 From: Michel Wilhelm Date: Tue, 30 Aug 2022 21:51:26 -0300 Subject: [PATCH] chore: release drafter update (#5) --- .github/release-drafter.yml | 12 ++++++------ .github/workflows/on_release.yml | 8 ++++++++ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 2e17c87..3024777 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,12 +1,12 @@ name-template: 'v$RESOLVED_VERSION' tag-template: 'v$RESOLVED_VERSION' categories: - - title: '🚀 Features' + - title: '🚀 Novidades' label: 'feature' - - title: '🛠 Maintenance' - label: 'maintenance' + - title: '🛠 Manutenção' + label: 'chore' - title: '🐛 Bug Fixes' - label: 'bug' + label: 'fix' version-resolver: major: labels: @@ -36,5 +36,5 @@ autolabeler: title: - '/^[a-zA-Z]+(\(.*?\))?!:.+/i' template: | - ## What’s Changed - $CHANGES + ## O que tem de novo + $CHANGES diff --git a/.github/workflows/on_release.yml b/.github/workflows/on_release.yml index c2f77fd..8be053f 100644 --- a/.github/workflows/on_release.yml +++ b/.github/workflows/on_release.yml @@ -41,6 +41,14 @@ 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: /media/data/apps/mines-backend/deploy.sh - name: Build finished if: success() uses: voxmedia/github-action-slack-notify-build@v1