Skip to content

Commit 81efc42

Browse files
committed
Adjust scripts
1 parent d32e484 commit 81efc42

6 files changed

Lines changed: 5 additions & 127 deletions

File tree

.github/workflows/docs-build-try.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/docs-build.yml

Lines changed: 0 additions & 93 deletions
This file was deleted.

.github/workflows/docs-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
dependencies:
2020
- "locked"
2121
php-version:
22-
- "8.5"
22+
- "8.4"
2323
operating-system:
2424
- "ubuntu-latest"
2525

@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/checkout@v6
2929

3030
- name: "Install PHP"
31-
uses: "shivammathur/setup-php@2.37.1"
31+
uses: "shivammathur/setup-php@2.37.0"
3232
with:
3333
coverage: none
3434
php-version: "${{ matrix.php-version }}"

.github/workflows/docs-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
-H "Authorization: Bearer ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}" \
2020
-H "X-GitHub-Api-Version: 2026-03-10" \
2121
https://api.github.com/repos/patchlevel/patchlevel.dev/actions/workflows/prod-deployment.yaml/dispatches \
22-
-d '{"ref":"main"}'
22+
-d '{"ref":"main"}'

bin/docs-extract-php-code

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if (file_exists($targetDir)) {
2323
mkdir($targetDir);
2424

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

2828
foreach ($finder as $file) {
2929
$fileName = pathinfo($file->getBasename(), PATHINFO_FILENAME);

bin/docs-inject-php-code

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if (!file_exists($targetDir)) {
2525
}
2626

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

3030
foreach ($finder as $file) {
3131
$fileName = pathinfo($file->getBasename(), PATHINFO_FILENAME);

0 commit comments

Comments
 (0)