forked from TerraFirmaGreg-Team/Modpack-Modern
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (24 loc) · 785 Bytes
/
server.yml
File metadata and controls
26 lines (24 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Project Server News
run-name: "Project Server News #${{ github.run_number }}"
on:
workflow_dispatch:
inputs:
project_version:
required: true
type: string
jobs:
discord-message:
name: 📱 Discord Message
runs-on: ubuntu-latest
steps:
- name: 📨 Send Discord message
uses: hugoalh/[email protected]
with:
key: ${{ secrets.DISCORD_NEWS_SERVER }}
username: "TerraFirmaGreg"
avatar_url: "https://raw.githubusercontent.com/TerraFirmaGreg-Team/.github/main/branding/logo.png"
content_links_no_embed: .+
allowed_mentions_parse_users: true
content: |
@Xikaro
**Server updated to**: `${{ inputs.project_version }}`