Skip to content

Commit

Permalink
Update release-chart.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rsarm authored May 30, 2024
1 parent b578fab commit 273944b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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 }}

0 comments on commit 273944b

Please sign in to comment.