summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/build.yml
blob: 87bab5842297c03dcfb155ff0211bd20fa68bc78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: Trigger site build

on:
  push:
    branches: [master]

jobs:
  deploy:
    runs-on: ubuntu-latest
    if: github.event_name == 'push' && github.repository_owner == 'adambard'
    steps:
      - name: Trigger site build
        uses: peter-evans/repository-dispatch@v3
        with:
          token: ${{ secrets.PAT_LEARNXINYMINUTES_SITE }}
          repository: adambard/learnxinyminutes-site
          event-type: doc-update