From 17e15660faa55323995d1a80aaf59dfb6eb4b59f Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Tue, 19 Jan 2021 21:40:34 +0100 Subject: Update rebuild workflow --- .github/workflows/rebuild.yml | 14 ++++++++++---- 1 file 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 -- cgit 1.4.1