2
0
Эх сурвалжийг харах

Use repository + ref for generated docs

Rob Winch 3 жил өмнө
parent
commit
132723bc8c

+ 1 - 1
.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: ${{ github.repository }} # The branch the action should deploy to.
+          branch:  ${{ github.repository }}/${{ github.ref }} # 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 }}