mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
18 lines
439 B
YAML
18 lines
439 B
YAML
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
|