Skip to content

Commit f027c78

Browse files
committed
Update GitHub Actions
1 parent 0638813 commit f027c78

File tree

4 files changed

+6
-23
lines changed

4 files changed

+6
-23
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
uses: php-actions/composer@v6
7474
with:
7575
php_version: '8.4'
76-
command: 'docs -- --target=public/ --template=""'
76+
command: 'docs'
7777

7878
- name: Upload artifact
7979
if: github.ref == 'refs/heads/main'

.github/workflows/wiki.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
5555
- name: Commit update
5656
run: |
57-
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
57+
git remote set-url origin https://x-access-token:${{ github.token }}@github.com/${{ github.repository }}
5858
5959
git config --global user.email "github-actions[bot]@users.noreply.github.com"
6060
git config --global user.name "github-actions[bot]"

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@
5656
"scripts": {
5757
"cs-check": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --dry-run --diff",
5858
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix",
59-
"docs": "phpdoc",
59+
"docs": [
60+
"phpdoc -d ./src/ -t public/ --title 'Fast Forward Container API'",
61+
"phpdoc -d ./src/ -t docs/wiki --title 'Fast Forward Container API' --template='vendor/saggre/phpdocumentor-markdown/themes/markdown'"
62+
],
6063
"mutation-testing": "infection --threads=4",
6164
"pre-commit": [
6265
"@cs-check",

phpdoc.dist.xml

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

0 commit comments

Comments
 (0)