Bläddra i källkod

feat: 兼容native encodeURL !感叹号替换为 %21

zhangys36 3 år sedan
förälder
incheckning
16e9d11036
2 ändrade filer med 14 tillägg och 2 borttagningar
  1. 12 0
      .drone.yml
  2. 2 2
      .drone_prod.yml

+ 12 - 0
.drone.yml

@@ -11,6 +11,18 @@ steps:
       - npm run build:stage
       - pwd
       - ls -la
+  - name: remoteFiles
+      image: appleboy/drone-ssh
+      settings:
+        host: deploy.iamsee.com
+        username: root
+        password: $jgkj001
+        debug: true
+        script:
+          - cd /www/wwwroot/railway-web.iamsee.com/release
+          - pwd
+          - chattr -i dist/.user.ini
+          - rm -rf dist
   - name: scp_files
     image: appleboy/drone-scp
     settings:

+ 2 - 2
.drone_prod.yml

@@ -11,7 +11,7 @@ steps:
       - npm run build:prod
       - pwd
       - ls -la
-  - name: remoteFiles
+  - name: removeFiles
     image: appleboy/drone-ssh
     settings:
       host: deploy.iamsee.com
@@ -19,7 +19,7 @@ steps:
       password: $jgkj001
       debug: true
       script:
-        - cd /www/wwwroot/railway-web.iamsee.com/release
+        - cd /www/wwwroot/gdscys.svstrong.com/release
         - pwd
         - chattr -i dist/.user.ini
         - rm -rf dist