more info on build notification

This commit is contained in:
2025-03-22 02:19:27 +01:00
parent 6d83d006c6
commit d6d906f1a1

View File

@@ -73,8 +73,14 @@ jobs:
cd build/steamos cd build/steamos
~/Steam/steamcmd.sh +login $STEAM_USR +run_app_build $DEPOT +quit ~/Steam/steamcmd.sh +login $STEAM_USR +run_app_build $DEPOT +quit
- name: Set outputs
id: vars
run: |
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
- name: Discord notification - name: Discord notification
uses: appleboy/discord-action@v1.2.0 uses: appleboy/discord-action@v1.2.0
with: with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK }} webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
message: New HEDZ-Reloaded alpha message: New HEDZ-Reloaded alpha (${{ steps.vars.outputs.branch }}) [${{ steps.vars.outputs.sha_short }}]