mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix
This commit is contained in:
@@ -12,11 +12,12 @@ on:
|
|||||||
discord_footer:
|
discord_footer:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
secrets:
|
discord_webhook:
|
||||||
DISCORD_WEBHOOK:
|
|
||||||
required: true
|
required: true
|
||||||
GH_TOKEN:
|
type: string
|
||||||
|
gh_token:
|
||||||
required: true
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
notify-discord:
|
notify-discord:
|
||||||
@@ -24,8 +25,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Send Discord Notification
|
- name: Send Discord Notification
|
||||||
env:
|
env:
|
||||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
DISCORD_WEBHOOK: ${{ inputs.discord_webhook }}
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ inputs.gh_token }}
|
||||||
run: |
|
run: |
|
||||||
RELEASE_INFO=$(gh release view "${{ github.ref_name }}" -R ${{ github.repository }} --json name,url,body,author)
|
RELEASE_INFO=$(gh release view "${{ github.ref_name }}" -R ${{ github.repository }} --json name,url,body,author)
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,7 @@
|
|||||||
# secrets:
|
# secrets:
|
||||||
# DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
# DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
#
|
||||||
|
|
||||||
name: Auto Release & Publish
|
name: Auto Release & Publish
|
||||||
|
|
||||||
@@ -136,6 +136,5 @@ jobs:
|
|||||||
discord_title: "New Release: v${{ steps.bump.outputs.version }}"
|
discord_title: "New Release: v${{ steps.bump.outputs.version }}"
|
||||||
discord_color: 3066993
|
discord_color: 3066993
|
||||||
discord_footer: "Portabase"
|
discord_footer: "Portabase"
|
||||||
secrets:
|
discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
gh_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
Reference in New Issue
Block a user