Browse Source

Use env.GENERATED_BRANCH_NAME

Rob Winch 3 years ago
parent
commit
e5747fe860
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/build-reference.yml

+ 1 - 1
.github/workflows/build-reference.yml

@@ -20,7 +20,7 @@ jobs:
       - name: Push generated antora files to the spring-generated-docs
       - name: Push generated antora files to the spring-generated-docs
         uses: JamesIves/github-pages-deploy-action@4.1.4
         uses: JamesIves/github-pages-deploy-action@4.1.4
         with:
         with:
-          branch:  ${GENERATED_BRANCH_NAME} # The branch the action should deploy to.
+          branch:  ${{ env.GENERATED_BRANCH_NAME }} # The branch the action should deploy to.
           folder: "docs/build/generateAntora" # The folder the action should deploy.
           folder: "docs/build/generateAntora" # The folder the action should deploy.
           repository-name: "spring-io/spring-generated-docs"
           repository-name: "spring-io/spring-generated-docs"
           token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
           token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}