mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 20:52:32 +00:00
30 lines
644 B
YAML
30 lines
644 B
YAML
name: '[Discord] Update Discord Build Status'
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
STATUS:
|
|
required: true
|
|
type: string
|
|
FLAVOR:
|
|
required: true
|
|
type: string
|
|
|
|
secrets:
|
|
DISCORD_WEBHOOK:
|
|
required: true
|
|
|
|
jobs:
|
|
run:
|
|
name: Update Discord Channel
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Discord Message
|
|
uses: sarisia/actions-status-discord@v1
|
|
with:
|
|
description: "Build and deploy `${{ inputs.FLAVOR }}` build"
|
|
status: ${{ inputs.STATUS }}
|
|
title: '[Release] ${{ inputs.FLAVOR }}'
|
|
webhook: ${{ secrets.DISCORD_WEBHOOK }}
|