Skip to content

Commit

Permalink
trigger site build on push
Browse files Browse the repository at this point in the history
  • Loading branch information
adambard committed Apr 6, 2024
1 parent 8c519ac commit a2c3935
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a2c3935

Please sign in to comment.