Quellcode durchsuchen

Added trigger for site rebuild

Björn Ritzl vor 6 Jahren
Ursprung
Commit
66a8ba9666
2 geänderte Dateien mit 19 neuen und 17 gelöschten Zeilen
  1. 19 0
      .github/workflows/trigger-site-rebuild.yml
  2. 0 17
      .github/workflows/update-site.yml

+ 19 - 0
.github/workflows/trigger-site-rebuild.yml

@@ -0,0 +1,19 @@
+name: Trigger site rebuild
+
+on: [push]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    steps: [{
+        name: 'Repository dispatch',
+        uses: defold/[email protected],
+        with: {
+            repo: 'defold/defold.github.io',
+            token: '${{ secrets.SERVICES_GITHUB_TOKEN }}',
+            user: '[email protected]',
+            action: 'docs'
+        }
+    }]

+ 0 - 17
.github/workflows/update-site.yml

@@ -1,17 +0,0 @@
-name: CI
-
-on: [push]
-
-jobs:
-  build:
-
-    runs-on: ubuntu-latest
-    
-    steps:
-    - uses: actions/checkout@v1
-    - name: Run a one-line script
-      run: echo Hello, world!
-    - name: Run a multi-line script
-      run: |
-        echo Add other actions to build,
-        echo test, and deploy your project.