Use github.repository

This commit is contained in:
Rob Winch 2021-10-25 13:14:04 -05:00
parent e87775bb1a
commit 1f5ebdda97

View File

@ -19,7 +19,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: ${{ GITHUB_REPOSITORY }} # The branch the action should deploy to. branch: ${{ github.repository }} # 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 }}