Skip to content

Deploy FAQ to Discord #13

Deploy FAQ to Discord

Deploy FAQ to Discord #13

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@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- 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 }}