Skip to content

Commit

Permalink
Create trigger-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bgk- authored Apr 9, 2024
1 parent bbfa0f5 commit 9318e60
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/trigger-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: trigger-docs

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Trigger Docs
uses: actions/github-script@v6
with:
github-token: ${{ secrets.PAT }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'peartreegames',
repo: 'website',
workflow_id: 'main.yml',
ref: 'main'
})

0 comments on commit 9318e60

Please sign in to comment.