diff options
Diffstat (limited to '.github/workflows/rebuild.yml')
-rw-r--r-- | .github/workflows/rebuild.yml | 21 |
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 }} |