From 8cb36c24ba2ee711c3be93595747dc32879fb6d9 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 25 Oct 2021 13:08:34 -0500 Subject: [PATCH] Generated docs use env --- .github/workflows/build-reference.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-reference.yml b/.github/workflows/build-reference.yml index 771181d4fa..1e997cbda7 100644 --- a/.github/workflows/build-reference.yml +++ b/.github/workflows/build-reference.yml @@ -19,7 +19,7 @@ jobs: - name: Push generated antora files to the spring-generated-docs uses: JamesIves/github-pages-deploy-action@4.1.4 with: - branch: "spring-security/main" # The branch the action should deploy to. + branch: ${{ env.GITHUB_REPOSITORY }} # The branch the action should deploy to. folder: "docs/build/generateAntora" # The folder the action should deploy. repository-name: "spring-io/spring-generated-docs" token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}