add readme to main docs
All checks were successful
Pack Validation CI / validate (push) Successful in 8s
All checks were successful
Pack Validation CI / validate (push) Successful in 8s
This commit is contained in:
21
.gitea/workflows/trigger-docs.yml
Normal file
21
.gitea/workflows/trigger-docs.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
name: Trigger Docs Rebuild
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
|
paths:
|
||||||
|
- "README.md"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
trigger:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Trigger docs rebuild
|
||||||
|
env:
|
||||||
|
DOCS_TOKEN: ${{ secrets.DOCS_TRIGGER_TOKEN }}
|
||||||
|
run: |
|
||||||
|
curl -s -X POST \
|
||||||
|
-H "Authorization: token $DOCS_TOKEN" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{"ref": "main"}' \
|
||||||
|
"https://git.keshavanand.net/api/v1/repos/foreign-thon/foreignthon-docs/actions/workflows/deploy.yml/dispatches"
|
||||||
Reference in New Issue
Block a user