declare the discord related secrets and mark inheritance (#38)

This commit is contained in:
Nogweii
2023-05-29 18:33:10 -07:00
committed by GitHub
parent 07cbec44d9
commit 51dcfa9d68
3 changed files with 7 additions and 0 deletions

View File

@@ -18,3 +18,4 @@ jobs:
with:
tachidesk_release_type: ${{ inputs.tachidesk_release_type }}
do_upload: true
secrets: inherit

View File

@@ -13,6 +13,11 @@ on:
default: true
description: 'Should the image be uploaded to the registry?'
type: boolean
secrets:
DISCORD_TACHIDESK_WEBHOOK_ID:
required: true
DISCORD_TACHIDESK_TOKEN:
required: true
env:
server_repo: ${{ inputs.tachidesk_release_type == 'stable' && 'Tachidesk-Server' || 'Tachidesk-Server-preview' }}

View File

@@ -14,3 +14,4 @@ jobs:
tachidesk_release_type: 'preview'
# i.e. only upload the container on push-to-main
do_upload: ${{ github.event_name == 'push' }}
secrets: inherit