about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-19 21:40:34 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-19 21:40:34 +0100
commit17e15660faa55323995d1a80aaf59dfb6eb4b59f (patch)
tree08f28265ec7723df9bb828846a4bd7610a2e5b22
parent4e5f924374b3632c454b95cdb925ddd35d0ab062 (diff)
downloadkronika-17e15660faa55323995d1a80aaf59dfb6eb4b59f.tar.gz
kronika-17e15660faa55323995d1a80aaf59dfb6eb4b59f.zip
Update rebuild workflow
-rw-r--r--.github/workflows/rebuild.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/rebuild.yml b/.github/workflows/rebuild.yml
index 556ae27..3dd8fe2 100644
--- a/.github/workflows/rebuild.yml
+++ b/.github/workflows/rebuild.yml
@@ -1,8 +1,8 @@
 name: Rebuild page
 
-on: 
+on:
   push:
-    branches: 
+    branches:
       - master
 
 jobs:
@@ -11,11 +11,17 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
-    - name: Rebuild https://puszcza.netlify.com
+    - name: Rebuild https://puszcza.netlify.app
       uses: wei/curl@v1
       with:
         args: -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_MASTER }}
-    - name: Rebuild https://develop--puszcza.netlify.com
+    - name: Rebuild https://develop--puszcza.netlify.app
       uses: wei/curl@v1
       with:
         args: -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_DEVELOP }}
+    - name: Rebuild https://low-puszcza.netlify.app
+      uses: peter-evans/repository-dispatch@v1
+      with:
+        token: ${{ secrets.REPO_ACCESS_TOKEN }}
+        repository: 19pdh/low-puszcza
+        event-type: update