mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: cache 2
This commit is contained in:
1 parent
729a45f8a8
commit
eadd66dc6c
2 files changed
+3
-1
No files matched your search
@@ -23,4 +23,4 @@ jobs:
|
||||
run: bun install
|
||||
|
||||
- name: Discover IDs
|
||||
run: DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} GH_TOKEN=${{ secrets.GH_TOKEN }} DATABASE_URL=${{ secrets.DATABASE_URL }} bun scripts/discoverIds.ts
|
||||
run: DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} GH_TOKEN=${{ secrets.GH_TOKEN }} DATABASE_URL=${{ secrets.DATABASE_URL }} bun scripts/discoverIds.ts --production
|
||||
@@ -27,6 +27,8 @@ const preDiscoveredRaw = await fetch(
|
||||
return undefined;
|
||||
});
|
||||
|
||||
console.log(`Running in ${production ? 'production' : 'development'} mode`);
|
||||
|
||||
if (preDiscoveredRaw === undefined) {
|
||||
console.log('No pre-discovered ids found :(');
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user