Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
Create trigger-docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bgk- authored Apr 9, 2024
1 parent 82b452b commit 367d436
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/trigger-docs
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 367d436

Please sign in to comment.