ci: add telegram notify to build release workflow
This commit is contained in:
		
							
								
								
									
										12
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -359,6 +359,18 @@ jobs: | |||||||
|         SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |         SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||||||
|         SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK |         SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK | ||||||
|          |          | ||||||
|  |     - name: Notify Telegram Channel | ||||||
|  |       uses: appleboy/telegram-action@0.0.3 | ||||||
|  |       with: | ||||||
|  |         to: ${{ secrets.TELEGRAM_TO }} | ||||||
|  |         token: ${{ secrets.TELEGRAM_TOKEN }} | ||||||
|  |         format: markdown | ||||||
|  |         message: | | ||||||
|  |           Wiki.js **${{ github.ref_name }}** has been released! | ||||||
|  |            | ||||||
|  |           See [release notes](https://github.com/requarks/wiki/releases) for details. | ||||||
|  |          | ||||||
|  |  | ||||||
|   build-do-image: |   build-do-image: | ||||||
|     name: Build DigitalOcean Image |     name: Build DigitalOcean Image | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user