about summary refs log tree commit diff
path: root/.github/workflows/rebuild.yml
blob: 3dd8fe264c1beeb6368dd257cfa2987a33e4ad56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Rebuild page

on:
  push:
    branches:
      - master

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - 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.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