diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 4db213d3..6f8f8049 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -41,12 +41,31 @@ jobs: tag: alpha deleteOnlyFromDrafts: false + - name: Tag Repo + uses: richardsimko/update-tag@v1 + with: + tag_name: alpha + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Upload Alpha - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/action-gh-release@v1 if: ${{ env.GIT_BRANCH != 'Meta' && success() }} with: tag: ${{ github.ref }} - asset_name: alpha - overwrite: true + tag_name: alpha files: bin/* - prerelease: true \ No newline at end of file + prerelease: true + + - name: send telegram message on push + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.TTELEGRAM_CHAT_ID }} + token: ${{ secrets.TELEGRAM_TOKEN }} + message: | + ${{ github.actor }} created commit: + Commit message: ${{ github.event.commits[0].message }} + + Repository: ${{ github.repository }} + + See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} \ No newline at end of file