|
7 | 7 | jobs:
|
8 | 8 | main:
|
9 | 9 | name: "Main"
|
10 |
| - uses: "hugoalh/hugoalh/.github/workflows/reusable-announce-new-release-discord.yml@main" |
11 |
| - with: |
12 |
| - payload: | |
13 |
| - embeds: |
14 |
| - - title: "GitHub Actions Toolkit (PowerShell)" |
15 |
| - description: | |
16 |
| - > ${{github.event.repository.description}} |
| 10 | + runs-on: "ubuntu-latest" |
| 11 | + steps: |
| 12 | + - name: "Send Discord Webhook" |
| 13 | + |
| 14 | + with: |
| 15 | + key: "${{secrets.DISCORD_HXHS_PROJECTNEWRELEASEANNOUNCER_WEBHOOK}}" |
| 16 | + embeds: | |
| 17 | + - title: "GitHub Actions Toolkit (PowerShell)" |
| 18 | + description: | |
| 19 | + > ${{github.event.repository.description}} |
17 | 20 |
|
18 |
| - Version ${{github.event.release.name}} (${{github.event.release.tag_name}}) just released! |
19 |
| - timestamp: "${{github.event.release.published_at}}" |
20 |
| - color: "#0072C6" |
21 |
| - thumbnail: |
22 |
| - url: "https://i.imgur.com/OhKCMwk.png" |
23 |
| - author: |
24 |
| - name: "${{github.event.release.author.login}}" |
25 |
| - url: "${{github.event.release.author.html_url}}" |
26 |
| - icon_url: "${{github.event.release.author.avatar_url}}" |
27 |
| - fields: |
28 |
| - - name: "GitHub - Release & Changelog" |
29 |
| - value: "${{github.event.release.html_url}}" |
30 |
| - inline: false |
31 |
| - - name: "GitHub - Repository" |
32 |
| - value: "${{github.event.repository.html_url}}" |
33 |
| - inline: false |
34 |
| - - name: "PowerShell Gallery" |
35 |
| - value: "https://www.powershellgallery.com/packages/hugoalh.GitHubActionsToolkit" |
36 |
| - inline: false |
37 |
| - secrets: |
38 |
| - DISCORD_WEBHOOK: "${{secrets.DISCORD_HXHS_PROJECTNEWRELEASEANNOUNCER_WEBHOOK}}" |
| 21 | + Version ${{github.event.release.name}} (${{github.event.release.tag_name}}) just released! |
| 22 | + timestamp: "${{github.event.release.published_at}}" |
| 23 | + color: "#0072C6" |
| 24 | + thumbnail: |
| 25 | + url: "https://i.imgur.com/OhKCMwk.png" |
| 26 | + author: |
| 27 | + name: "${{github.event.release.author.login}}" |
| 28 | + url: "${{github.event.release.author.html_url}}" |
| 29 | + icon_url: "${{github.event.release.author.avatar_url}}" |
| 30 | + fields: |
| 31 | + - name: "GitHub - Release & Changelog" |
| 32 | + value: "${{github.event.release.html_url}}" |
| 33 | + inline: false |
| 34 | + - name: "GitHub - Repository" |
| 35 | + value: "${{github.event.repository.html_url}}" |
| 36 | + inline: false |
| 37 | + - name: "PowerShell Gallery" |
| 38 | + value: "https://www.powershellgallery.com/packages/hugoalh.GitHubActionsToolkit" |
| 39 | + inline: false |
0 commit comments