Files
lunasea/.github/workflows/update_discord.yml
2022-01-22 22:10:45 -05:00

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 }}