File tree 5 files changed +25
-1
lines changed
5 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,13 @@ inputs:
31
31
description : TVDB API key
32
32
required : true
33
33
34
+ simkl_client_id :
35
+ description : Simkl client ID
36
+ required : true
37
+ simkl_client_secret :
38
+ description : Simkl client secret
39
+ required : true
40
+
34
41
35
42
runs :
36
43
using : composite
51
58
VITE_TMDB_READ_TOKEN : ${{ inputs.tmdb_read_token }}
52
59
53
60
VITE_TVDB_API_KEY : ${{ inputs.tvdb_api_key }}
61
+
62
+ VITE_SIMKL_CLIENT_ID : ${{ inputs.simkl_client_id }}
63
+ VITE_SIMKL_CLIENT_SECRET : ${{ inputs.simkl_client_secret }}
54
64
run : |
55
65
# ================= 🚧 Build =================
56
66
pnpm run ${{ inputs.script }}
Original file line number Diff line number Diff line change 33
33
34
34
tvdb_api_key : ${{ secrets.VITE_TVDB_API_KEY }}
35
35
36
+ simkl_client_id : ${{ secrets.VITE_SIMKL_CLIENT_ID }}
37
+ simkl_client_secret : ${{ secrets.VITE_SIMKL_CLIENT_SECRET }}
38
+
36
39
build-web :
37
40
name : ☁️ Build Web
38
41
runs-on : ubuntu-latest
57
60
58
61
tvdb_api_key : ${{ secrets.VITE_TVDB_API_KEY }}
59
62
63
+ simkl_client_id : ${{ secrets.VITE_SIMKL_CLIENT_ID }}
64
+ simkl_client_secret : ${{ secrets.VITE_SIMKL_CLIENT_SECRET }}
65
+
60
66
test :
61
67
name : 🧪 Unit Test
62
68
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 56
56
57
57
tvdb_api_key : ${{ secrets.VITE_TVDB_API_KEY }}
58
58
59
+ simkl_client_id : ${{ secrets.VITE_SIMKL_CLIENT_ID }}
60
+ simkl_client_secret : ${{ secrets.VITE_SIMKL_CLIENT_SECRET }}
61
+
59
62
- name : 🏗️ Setup Pages
60
63
uses : actions/configure-pages@v5
61
64
Original file line number Diff line number Diff line change 45
45
46
46
tvdb_api_key : ${{ secrets.VITE_TVDB_API_KEY }}
47
47
48
+ simkl_client_id : ${{ secrets.VITE_SIMKL_CLIENT_ID }}
49
+ simkl_client_secret : ${{ secrets.VITE_SIMKL_CLIENT_SECRET }}
50
+
48
51
- name : 💾 Restore build artefacts
49
52
uses : actions/cache/save@v4
50
53
id : cache
89
92
90
93
tvdb_api_key : ${{ secrets.VITE_TVDB_API_KEY }}
91
94
95
+ simkl_client_id : ${{ secrets.VITE_SIMKL_CLIENT_ID }}
96
+ simkl_client_secret : ${{ secrets.VITE_SIMKL_CLIENT_SECRET }}
97
+
92
98
- name : 🗃️ Zip build folder
93
99
run : |
94
100
# ================= 🗃️ Zipping build folder =================
Original file line number Diff line number Diff line change @@ -615,7 +615,6 @@ export class TraktService {
615
615
} ;
616
616
617
617
static simkl = {
618
- client : this . simklClient ,
619
618
settings : async ( ) => {
620
619
const response = await this . simklClient . user . settings ( ) ;
621
620
return response . json ( ) ;
You can’t perform that action at this time.
0 commit comments