Skip to content

Commit

Permalink
chore(ci): wrong context variable for repo name (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
strantalis authored Dec 5, 2024
1 parent 516f77d commit 21801f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/chart-releaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ jobs:
try {
const { data: file } = await github.rest.repos.getContent({
owner: context.repo.owner,
repo: context.repo.name,
repo: context.repo.repo,
path: 'index.yaml'
ref: 'main'
});
fileSha = file.sha;
} catch (e) {
Expand All @@ -88,7 +89,7 @@ jobs:
// Create or update the file
await github.rest.repos.createOrUpdateFileContents({
owner: context.repo.owner,
repo: context.repo.name,
repo: context.repo.repo,
path: 'index.yaml',
message: 'Update index.yaml',
content: Buffer.from(content).toString('base64'),
Expand Down

0 comments on commit 21801f9

Please sign in to comment.