From 8e00343626c47e2575c3719397bc9c4ba721d7e4 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 1 Jan 2020 22:56:17 +0100 Subject: Create rebuild.yml --- .github/workflows/rebuild.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/rebuild.yml (limited to '.github') 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 }} -- cgit 1.4.1