update: .github
This commit is contained in:
parent
f1a078e3eb
commit
201255cff4
40 changed files with 7818 additions and 1699 deletions
26
.github/workflows/server.yml
vendored
Normal file
26
.github/workflows/server.yml
vendored
Normal file
|
|
@ -0,0 +1,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/send-discord-webhook-ghaction@v7.0.3
|
||||
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 }}`
|
||||
Loading…
Add table
Add a link
Reference in a new issue