File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -126,12 +126,11 @@ jobs:
126126 run : |
127127 npx tsx ./proxy.ts
128128 cat proxy.json
129- env :
130- REPO : ${{ github.repository }}
131129
132130 - name : Upload proxy.json
133131 uses : softprops/action-gh-release@v1
134132 with :
135133 fail_on_unmatched_files : true
134+ token : ${{ secrets.MY_TOKEN }}
136135 files : |
137136 proxy.json
Original file line number Diff line number Diff line change 11import fs from "fs" ;
2- import path from "path" ;
3- const files = [ "alist-desktop-proxy.json" , "alist-desktop.json" ] ;
42
53interface Updater {
64 name : string ;
@@ -14,9 +12,9 @@ interface Updater {
1412 } ;
1513}
1614
17- console . log ( process . env ) ;
15+ // console.log(process.env);
1816
19- const repo = process . env . REPO || process . env . GITHUB_REPOSITORY ! ;
17+ const repo = process . env . GITHUB_REPOSITORY ! ;
2018
2119const generateProxy = async ( ) => {
2220 const res = await fetch (
You can’t perform that action at this time.
0 commit comments