diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..3d3e0465 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,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.com + event-type: doc-update