diff options
-rw-r--r-- | .github/workflows/build.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..955442a8 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +name: Trigger site build + +on: + push: + branches: [main, 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 |