Skip to content

refactor: Update Cloudflare Workers deployment workflow to use new en… #10

refactor: Update Cloudflare Workers deployment workflow to use new en…

refactor: Update Cloudflare Workers deployment workflow to use new en… #10

Workflow file for this run

name: Run Discord Script
on:
push:
branches:
- main # Run on push to the main branch
jobs:
run-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
run: npm install
- name: Run Discord script
env:
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
GUILD_ID: ${{ secrets.GUILD_ID }}
run: npm run discord