Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions .github/workflows/docs-build-try.yml

This file was deleted.

93 changes: 0 additions & 93 deletions .github/workflows/docs-build.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish docs

on:
push:
branches:
- "[0-9]+.[0-9]+.x"
release:
types:
- published

jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger workflow in other repo
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}" \
-H "X-GitHub-Api-Version: 2026-03-10" \
https://api.github.com/repos/patchlevel/patchlevel.dev/actions/workflows/prod-deployment.yaml/dispatches \
-d '{"ref":"main"}'
2 changes: 1 addition & 1 deletion bin/docs-extract-php-code
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (file_exists($targetDir)) {
mkdir($targetDir);

$finder = new Symfony\Component\Finder\Finder();
$finder->files()->in(__DIR__ . '/../docs/pages')->name('*.md');
$finder->files()->in(__DIR__ . '/../docs')->name('*.md');

foreach ($finder as $file) {
$fileName = pathinfo($file->getBasename(), PATHINFO_FILENAME);
Expand Down
2 changes: 1 addition & 1 deletion bin/docs-inject-php-code
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (!file_exists($targetDir)) {
}

$finder = new Symfony\Component\Finder\Finder();
$finder->files()->in(__DIR__ . '/../docs/pages')->name('*.md');
$finder->files()->in(__DIR__ . '/../docs')->name('*.md');

foreach ($finder as $file) {
$fileName = pathinfo($file->getBasename(), PATHINFO_FILENAME);
Expand Down
Loading
Loading