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