diff --git a/.github/workflows/update-docs.yaml b/.github/workflows/update-docs.yaml index 11ebb2ee1..1718b762f 100644 --- a/.github/workflows/update-docs.yaml +++ b/.github/workflows/update-docs.yaml @@ -64,6 +64,19 @@ jobs: cp -f $readme ${{ runner.temp }}/$readme done + - name: Create Pull Request + uses: peter-evans/create-pull-request@v6 + with: + add-paths: docs/helm + commit-message: Automatic update helm docs from ${{ github.repository }}@${{ steps.update.outputs.SHORT_SHA }} + signoff: true + committer: "Github Actions <${{ steps.import-gpg.outputs.email }}>" + path: __vm-repo + branch: helm-docs-update-${{ steps.update.outputs.BUILDTIME }} + token: ${{ secrets.VM_BOT_GH_TOKEN }} + delete-branch: true + title: Automatic update helm docs from ${{ github.repository }}@${{ steps.update.outputs.SHORT_SHA }} + - name: Checkout to pages uses: actions/checkout@v4 with: @@ -80,16 +93,3 @@ jobs: env: GH_TOKEN: "${{ secrets.VM_BOT_GH_TOKEN }}" GITHUB_TOKEN: "${{ secrets.VM_BOT_GH_TOKEN }}" - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v6 - with: - add-paths: docs/helm - commit-message: Automatic update helm docs from ${{ github.repository }}@${{ steps.update.outputs.SHORT_SHA }} - signoff: true - committer: "Github Actions <${{ steps.import-gpg.outputs.email }}>" - path: __vm-repo - branch: helm-docs-update-${{ steps.update.outputs.BUILDTIME }} - token: ${{ secrets.VM_BOT_GH_TOKEN }} - delete-branch: true - title: Automatic update helm docs from ${{ github.repository }}@${{ steps.update.outputs.SHORT_SHA }}