mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
trigger site build on push
This commit is contained in:
parent
8c519ac0da
commit
a2c3935a9b
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
|
Loading…
Reference in New Issue
Block a user