Browse Source

调整 ci 细节

Signed-off-by: 716 <[email protected]>
716 3 years ago
parent
commit
e279b3fea9

+ 1 - 5
.github/workflows/goreleaser-ChineseSubFinder-Beta.yml

@@ -22,11 +22,7 @@ jobs:
           working-directory: frontend
           working-directory: frontend
 
 
       - name: frontend install depandence
       - name: frontend install depandence
-        run: npm install
-        working-directory: frontend
-
-      - name: frontend change api address
-        run: find -name '.env.production' | xargs perl -pi -e 's|BACKEND_URL=/api|BACKEND_URL=|g'
+        run: npm ci
         working-directory: frontend
         working-directory: frontend
 
 
       - name: frontend build
       - name: frontend build

+ 1 - 1
frontend/.env.production

@@ -1 +1 @@
-BACKEND_URL=/api
+BACKEND_URL=