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') });
|
dotenv.config({ path: path.resolve(__dirname, '..', '..', '.env') });
|
||||||
|
|
||||||
const JOBS = [{
|
const JOBS = [
|
||||||
name: '🎧 Update total plays',
|
|
||||||
type: 'curl',
|
|
||||||
urlEnvVar: 'TOTAL_PLAYS_WEBHOOK',
|
|
||||||
tokenEnvVar: 'DIRECTUS_API_TOKEN',
|
|
||||||
method: 'GET'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: '🛠 Rebuild site',
|
name: '🛠 Rebuild site',
|
||||||
type: 'curl',
|
type: 'curl',
|
||||||
|
@ -30,6 +24,13 @@ const JOBS = [{
|
||||||
tokenEnvVar: 'NAVIDROME_SCROBBLE_TOKEN',
|
tokenEnvVar: 'NAVIDROME_SCROBBLE_TOKEN',
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: '🎧 Update total plays',
|
||||||
|
type: 'curl',
|
||||||
|
urlEnvVar: 'TOTAL_PLAYS_WEBHOOK',
|
||||||
|
tokenEnvVar: 'DIRECTUS_API_TOKEN',
|
||||||
|
method: 'GET'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: '🐘 Send posts to Mastodon',
|
name: '🐘 Send posts to Mastodon',
|
||||||
type: 'curl',
|
type: 'curl',
|
||||||
|
|
4
cli/package-lock.json
generated
4
cli/package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd",
|
"name": "coryd",
|
||||||
"version": "3.2.1",
|
"version": "3.2.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd",
|
"name": "coryd",
|
||||||
"version": "3.2.1",
|
"version": "3.2.2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@directus/sdk": "^19.1.0",
|
"@directus/sdk": "^19.1.0",
|
||||||
"chalk": "^5.4.1",
|
"chalk": "^5.4.1",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd",
|
"name": "coryd",
|
||||||
"version": "3.2.1",
|
"version": "3.2.2",
|
||||||
"description": "The CLI for my site to run scripts, manage and download assets.",
|
"description": "The CLI for my site to run scripts, manage and download assets.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue