docs: add note about discord token reset #62
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
# Simple workflow for deploying static content to GitHub Pages | |
name: Lint & Test | |
on: | |
pull_request: | |
push: | |
branches: ['main'] | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install | |
- name: Run linters | |
run: npm run lint | |
- name: Run unit tests | |
run: npm run test | |
env: | |
DATABASE_URL: ${{ vars.DATABASE_URL }} | |
PORT: ${{ vars.PORT }} | |
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }} | |
DISCORD_CHANNEL_ID: ${{ secrets.DISCORD_CHANNEL_ID }} | |
DISCORD_SERVER_ID: ${{ secrets.DISCORD_SERVER_ID }} | |
GIPHY_API_KEY: ${{ secrets.GIPHY_API_KEY }} |