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