Skip to content

Update workflows

Update workflows #19

Workflow file for this run

name: Deploy FAQ to Discord
on:
push:
branches: ["master"]
paths:
- "wiki/FAQ.md"
- ".github/faq-updater"
- ".github/workflows/faq.yml"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: "faq"
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install deps
working-directory: .github/faq-updater
run: npm ci
- name: Run FAQ updater
working-directory: .github/faq-updater
run: npm start
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DISCORD_CHANNEL: ${{ vars.DISCORD_CHANNEL }}