Bladeren bron

feat: 青龙面板支持

mrabit 2 jaren geleden
bovenliggende
commit
fdcc39cfd4
4 gewijzigde bestanden met toevoegingen van 5 en 4 verwijderingen
  1. 0 1
      .github/workflows/workflow.yml
  2. 1 3
      .gitignore
  3. 0 0
      config.js
  4. 4 0
      indexAction.js

+ 0 - 1
.github/workflows/workflow.yml

@@ -28,6 +28,5 @@ jobs:
           MT_DEVICEID: ${{ secrets.MT_DEVICEID }}
           BARK: ${{ secrets.BARK }}
         run: |
-          cp config.example.js config.js
           chmod 777 indexAction.js
           node ./indexAction.js

+ 1 - 3
.gitignore

@@ -168,6 +168,4 @@ dist
 *.code-workspace
 
 # End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,node
-n
-
-config.js
+n

+ 0 - 0
config.example.js → config.js


+ 4 - 0
indexAction.js

@@ -1,3 +1,7 @@
+/*
+cron "0-59/20 9-20 * * *" indexAction.js, tag=小茅运旅行
+*/
+const $ = new Env('小茅运旅行');
 const api = require('./api')
 
 api.init()