Skip to content

Discord

Discord #384

Workflow file for this run

name: "Discord"
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
Discord:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
name: "Checkout"
with:
fetch-depth: 0
- name: "Install Nix"
uses: "cachix/install-nix-action@v30"
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: "Magic Cache"
uses: "determinatesystems/magic-nix-cache-action@v8"
- name: "Discord"
run: nix run --accept-flake-config .#stepbrobd -- discord
env:
GH_TOKEN: ${{ secrets.TOKEN }}
TOKEN: ${{ secrets.TOKEN }}
WEBHOOK: ${{ secrets.WEBHOOK }}