Skip to content

Commit efb9fcf

Browse files
committed
Use repository_name too
1 parent cb6e64f commit efb9fcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-reference.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
run: ./gradlew :spring-security-docs:generateAntora
1919
- name: Extract Branch Name
2020
id: extract_branch_name
21-
run: echo "##[set-output name=branch_name;]$(echo ${GITHUB_REF##*/})"
21+
run: echo "##[set-output name=generated_branch_name;]$(echo ${GITHUB_REPOSITORY}/${GITHUB_REF##*/})"
2222
- name: Push generated antora files to the spring-generated-docs
2323
uses: JamesIves/[email protected]
2424
with:
25-
branch: ${{ steps.extract_branch_name.outputs.branch_name }} # The branch the action should deploy to.
25+
branch: ${{ steps.extract_branch_name.outputs.generated_branch_name }} # The branch the action should deploy to.
2626
folder: "docs/build/generateAntora" # The folder the action should deploy.
2727
repository-name: "spring-io/spring-generated-docs"
2828
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

0 commit comments

Comments
 (0)