File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 7676 version : ${{ env.version }}
7777 zipball : ${{ env.zip }}
7878 changelog : ./changelog.md
79+
80+ - name : Update mod topic
81+ uses : Kerbalight/ksp2-forum-post-action@latest
82+ with :
83+ username : ${{ secrets.FORUM_USER }}
84+ password : ${{ secrets.FORUM_PASSWORD }}
85+ forum_topic_url : https://forum.kerbalspaceprogram.com/topic/221179-093-patch-manager/
86+ forum_topic_title : ' [{version}] Patch Manager'
87+ spacedock_url : https://spacedock.info/mod/3482/Patch%20Manager
88+ version : ${{ env.version }}
89+ swinfo_path : ' plugin_template/swinfo.json'
90+ changelog : ./changelog.md
91+
92+ - name : Prepare content for discord
93+ shell : bash
94+ run : |
95+ echo -e "## Release v${version}\n" > ./content.md
96+ cat ./changelog.md >> ./content.md
97+ {
98+ echo 'discord_message<<EOF'
99+ cat ./content.md
100+ echo EOF
101+ } >> "$GITHUB_ENV"
102+
103+ - name : Publish update to Discord
104+ 105+ with :
106+ webhook-url : ${{ secrets.DISCORD_WEBHOOK }}
107+ content : ${{ env.discord_message }}
108+ thread-id : ' 1171826066692776028'
109+ username : " Patch Manager"
110+ avatar-url : " https://spacedock.info/content/cheese3660_103715/Patch_Manager/thumb_Patch_Manager-1703507804.jpg"
You can’t perform that action at this time.
0 commit comments