Skip to content

Commit

Permalink
create vm pr before gh-pages checkout (#1515)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewChubatiuk authored Sep 19, 2024
1 parent 26b1f3b commit 32c442e
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/update-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}

0 comments on commit 32c442e

Please sign in to comment.