generated from Happypig375/FSharp-Events-Discord-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (26 loc) · 905 Bytes
/
Run.yml
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: Run
on:
workflow_dispatch:
schedule:
- cron: '0,30 * * * *'
jobs:
bot:
runs-on: ubuntu-latest
steps:
- name: 🛎️ Checkout
uses: actions/[email protected]
- name: 📥 Install
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: 🏃 Run
env:
COMMAND_CHANNEL_ID: ${{ secrets.COMMAND_CHANNEL_ID }}
COMMAND_GUILD_ID: ${{ secrets.COMMAND_GUILD_ID }}
WHITELISTED_GUILD_ID: ${{ secrets.WHITELISTED_GUILD_ID }}
LOG_CHANNEL_ID: ${{ secrets.LOG_CHANNEL_ID }}
TOKEN: ${{ secrets.TOKEN }}
WEBHOOK1: ${{ secrets.WEBHOOK1 }}
WEBHOOK2: ${{ secrets.WEBHOOK2 }}
run: dotnet fsi Bot.fsx
- uses: gautamkrishnar/keepalive-workflow@master # prevent GitHub from suspending this action due to repository inactivity