Update FAQ.md #15
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@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 }} |