Skip to content

Commit 212c761

Browse files
committed
api_refs.yaml: Fix branch push
1 parent 2877a5f commit 212c761

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/api_refs.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,13 @@ jobs:
3939
git config --global user.name "${GITHUB_ACTOR}"
4040
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
4141
git checkout -b ${{ steps.version_and_branches.outputs.work_branch }}
42+
git push --set-upstream origin ${{ steps.version_and_branches.outputs.work_branch }}
4243
git add docs/api/php_api/php_api_reference/ tools/php_api_ref/.phpdoc/template/package-edition-map.twig
4344
git commit -m "PHP API Ref HTML"
4445
#TODO: git add doc/api/rest_api/rest_api_reference/rest_api_reference.html
4546
#TODO: git commit -m "REST API Ref HTML"
46-
#TODO: permission to push? Use an action? https://github.com/marketplace/actions/github-push
47-
git push --set-upstream origin api_refs_v4.6.x
47+
#TODO: permission to push? Use an action? https://github.com/marketplace/actions/github-push
48+
git push
4849
4950
- name: Create Pull Request
5051
uses: peter-evans/create-pull-request@v3

0 commit comments

Comments
 (0)