Update FAQ.md #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |