Skip to content

Commit 1a76fb3

Browse files
committed
api_refs.yaml: Fix package-edition-map.twig path
fatal: pathspec 'tools/api_refs/.phpdoc/template/package-edition-map.twig' did not match any files
1 parent 6c76238 commit 1a76fb3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/api_refs.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@ jobs:
6969
run: |
7070
git config --global user.name "${GITHUB_ACTOR}"
7171
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
72-
git add docs/api/php_api/php_api_reference/ tools/api_refs/.phpdoc/template/package-edition-map.twig
72+
git add docs/api/php_api/php_api_reference/
73+
if [[ '4.6' != $BASE_BRANCH ]]; then
74+
git add tools/api_refs/.phpdoc/template/package-edition-map.twig
75+
else
76+
git add tools/php_api_ref/.phpdoc/template/package-edition-map.twig
77+
fi
7378
git commit -m "PHP API Ref HTML"
7479
git add doc/api/rest_api/rest_api_reference/rest_api_reference.html
7580
git commit -m "REST API Ref HTML"

0 commit comments

Comments
 (0)