Explorar el Código

Make new nightly builds nightly (#55)

Jens Fischer hace 5 años
padre
commit
d2957d23eb
Se han modificado 1 ficheros con 7 adiciones y 2 borrados
  1. 7 2
      .github/workflows/main.yml

+ 7 - 2
.github/workflows/main.yml

@@ -1,6 +1,11 @@
 name: CI
 
-on: [push, pull_request]
+on:
+  push:
+  pull_request:
+  repository_dispatch:
+  schedule:
+    - cron: '0 4 * * *'
 
 jobs:
   build:
@@ -60,4 +65,4 @@ jobs:
         echo "${{secrets.DEPLOY_KEY}}" > ~/.ssh/id_rsa
         chmod 600 ~/.ssh/id_rsa
         scp -o StrictHostKeyChecking=no zips/* [email protected]:builds/hide
-      if: github.event_name == 'push' && github.ref == 'refs/heads/master'
+      if: github.ref == 'refs/heads/master'