chore(cli/jobs.js): reorder jobs menu

This commit is contained in:
Cory Dransfeldt 2025-06-10 11:53:54 -07:00
parent 9935d9ba85
commit 6a4407ca1e
No known key found for this signature in database
3 changed files with 11 additions and 10 deletions

View file

@ -9,13 +9,7 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
dotenv.config({ path: path.resolve(__dirname, '..', '..', '.env') });
const JOBS = [{
name: '🎧 Update total plays',
type: 'curl',
urlEnvVar: 'TOTAL_PLAYS_WEBHOOK',
tokenEnvVar: 'DIRECTUS_API_TOKEN',
method: 'GET'
},
const JOBS = [
{
name: '🛠 Rebuild site',
type: 'curl',
@ -30,6 +24,13 @@ const JOBS = [{
tokenEnvVar: 'NAVIDROME_SCROBBLE_TOKEN',
method: 'POST'
},
{
name: '🎧 Update total plays',
type: 'curl',
urlEnvVar: 'TOTAL_PLAYS_WEBHOOK',
tokenEnvVar: 'DIRECTUS_API_TOKEN',
method: 'GET'
},
{
name: '🐘 Send posts to Mastodon',
type: 'curl',