mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-16 11:45:04 +02:00
trigger site build on push
This commit is contained in:
17
.github/workflows/build.yml
vendored
Normal file
17
.github/workflows/build.yml
vendored
Normal file
@@ -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
|
Reference in New Issue
Block a user