Jelajahi Sumber

CI: Only push binaries for develop branch builds

... for now.
Syntax was confusing Travis CI, AppVeyor is reporting 401,
so lets see if this change at least fixes Travis.

If this doesn't work, it might be that @raysan5's token is required.
Ahmad Fatoum 7 tahun lalu
induk
melakukan
13fa61f7d9
2 mengubah file dengan 11 tambahan dan 16 penghapusan
  1. 1 3
      .travis.yml
  2. 10 13
      appveyor.yml

+ 1 - 3
.travis.yml

@@ -54,6 +54,4 @@ deploy:
   skip_cleanup: true
   on:
     repo: raysan5/raylib
-    branch:
-      - develop
-      - master
+    branch: develop

+ 10 - 13
appveyor.yml

@@ -52,16 +52,13 @@ artifacts:
   - path: 'build\*.zip'
 
 deploy:
-  description: 'Automatic build by CI'
-  provider: GitHub
-  auth_token:
-    secure: lqkfPGZPK828Mmopbicrng08QaaQXAshp0a9E3bMXt8+hpA8vCfDAT3jgU8kaSsW
-  artifact: /.*\.zip/
-  draft: false
-  prerelease: false
-  force_update: true
-  on:
-    branch: 
-      - master
-      - develop
-    appveyor_repo_tag: true        # deploy on tag push only
+  - provider: GitHub
+    auth_token:
+      secure: lqkfPGZPK828Mmopbicrng08QaaQXAshp0a9E3bMXt8+hpA8vCfDAT3jgU8kaSsW
+    artifact: /.*\.zip/
+    draft: false
+    prerelease: false
+    force_update: true
+    on:
+      branch: develop
+      appveyor_repo_tag: true        # deploy on tag push only