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