diff --git a/.github/workflows/release-chart.yml b/.github/workflows/release-chart.yml index c1f3599..58db41f 100644 --- a/.github/workflows/release-chart.yml +++ b/.github/workflows/release-chart.yml @@ -33,7 +33,7 @@ jobs: run: | git config --global user.name "github-actions[bot]" git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" - + git fetch origin gh-pages:gh-pages git checkout gh-pages mv gh_/*tgz . @@ -47,9 +47,11 @@ jobs: git push origin $NEW_BRANCH # Create a pull request - curl -s -u "${{ secrets.GH_PAT }}:x-oauth-basic" \ - -d '{"title":"Update Helm repo","head":"'"$NEW_BRANCH"'","base":"gh-pages"}' \ - https://api.github.com/repos/${{ github.repository }}/pulls | jq -r '.url' + # curl -s -u "${{ secrets.GH_PAT }}:x-oauth-basic" \ + # -d '{"title":"Update Helm repo","head":"'"$NEW_BRANCH"'","base":"gh-pages"}' \ + # https://api.github.com/repos/${{ github.repository }}/pulls | jq -r '.url' + # Create a pull request + gh pr create -B $NEW_BRANCH -H gh-pages --title '[release-chart] Update Helm repo' --body 'Created by Github action' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}