learnxinyminutes-docs/.github/workflows/build.yml

18 lines
439 B
YAML
Raw Normal View History

2024-04-06 18:39:27 +00:00
name: Trigger site build
on:
push:
branches: [main, master]
2024-04-06 18:39:27 +00:00
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 }}
2024-04-06 18:53:12 +00:00
repository: adambard/learnxinyminutes-site
2024-04-06 18:39:27 +00:00
event-type: doc-update