chore(cli/jobs.js): reorder jobs menu
This commit is contained in:
parent
9935d9ba85
commit
6a4407ca1e
3 changed files with 11 additions and 10 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue