diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-01-19 21:40:34 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-01-19 21:40:34 +0100 |
commit | 17e15660faa55323995d1a80aaf59dfb6eb4b59f (patch) | |
tree | 08f28265ec7723df9bb828846a4bd7610a2e5b22 | |
parent | 4e5f924374b3632c454b95cdb925ddd35d0ab062 (diff) | |
download | kronika-17e15660faa55323995d1a80aaf59dfb6eb4b59f.tar.gz kronika-17e15660faa55323995d1a80aaf59dfb6eb4b59f.zip |
Update rebuild workflow
-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 |