about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-01 22:56:17 +0100
committerGitHub <noreply@github.com>2020-01-01 22:56:17 +0100
commit8e00343626c47e2575c3719397bc9c4ba721d7e4 (patch)
tree3cf7dd782432474969454f7ac8843682ccaa63cc
parentc4226ef8fa02e167a86f52be754c3ac7589bc6b9 (diff)
downloadkronika-8e00343626c47e2575c3719397bc9c4ba721d7e4.tar.gz
kronika-8e00343626c47e2575c3719397bc9c4ba721d7e4.zip
Create rebuild.yml
-rw-r--r--.github/workflows/rebuild.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/rebuild.yml b/.github/workflows/rebuild.yml
new file mode 100644
index 0000000..556ae27
--- /dev/null
+++ b/.github/workflows/rebuild.yml
@@ -0,0 +1,21 @@
+name: Rebuild page
+
+on: 
+  push:
+    branches: 
+      - master
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - name: Rebuild https://puszcza.netlify.com
+      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
+      uses: wei/curl@v1
+      with:
+        args: -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_DEVELOP }}