Release of v1.1.0 #32
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Mod | |
# Run when a new release is... released | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
main: | |
name: Publish Mod | |
uses: undorn/actions-workflows/.github/workflows/publish-modpack.yaml@main | |
with: | |
team: Undorn | |
community: valheim | |
secrets: inherit | |
notify-discord: | |
needs: main | |
if: needs.main.result == 'success' | |
name: Notify Discord | |
runs-on: ubuntu-latest | |
steps: | |
- name: Notify Discord | |
uses: tsickert/[email protected] | |
with: | |
embed-title: "Modpack Update" | |
embed-url: https://thunderstore.io/c/valheim/p/Undorn/Undorn_Official_Modpack/ | |
embed-description: "A new version of the modpack has been released!" | |
embed-thumbnail-url: https://gcdn.thunderstore.io/live/repository/icons/Undorn-Undorn_Official_Modpack-1.0.7.png.128x128_q95.png | |
embed-author-name: "CodeRed" | |
embed-author-url: https://github.com/fclante | |
embed-author-icon-url: https://avatars.githubusercontent.com/u/4668071?v=4 | |
webhook-url: ${{ secrets.DISCORD_MODPACK_UPDATES_WEBHOOK_URL }} |