Skip to content

Commit e86f2df

Browse files
author
Kostadinos J Kyprianos
authored
Update Workflows
1 parent 0bd3033 commit e86f2df

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

Workflows

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,35 @@
1-
name: Archive Warden Ritual
1+
jobs:
2+
ritual:
3+
runs-on: ubuntu-latest
4+
steps:
5+
- name: Checkout repo
6+
uses: actions/checkout@v3
7+
8+
- name: Validate README presence
9+
run: |
10+
if [[ ! -f README.md ]]; then
11+
echo "⚠️ SIGIL MISSING: README.md not found. Badge invocation halted. Restore the scroll and reinitiate the ritual."
12+
exit 1
13+
fi
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
20+
- name: Install dependencies
21+
run: pnpm install
22+
23+
- name: Run Archive Warden Ritual
24+
env:
25+
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
26+
GUILD_ID: ${{ secrets.GUILD_ID }}
27+
SENIOR_ROLE_ID: ${{ secrets.SENIOR_ROLE_ID }}
28+
JUNIOR_ROLE_ID: ${{ secrets.JUNIOR_ROLE_ID }}
29+
VAULT_CORE_CHANNEL_ID: ${{ secrets.VAULT_CORE_CHANNEL_ID }}
30+
MENTORING_CHANNEL_ID: ${{ secrets.MENTORING_CHANNEL_ID }}
31+
AUDIT_LOG_PATH: ./logs/role-grants.json
32+
run: pnpm run ritual:archive-wardenname: Archive Warden Ritual
233

334
on:
435
workflow_dispatch:

0 commit comments

Comments
 (0)