fixed branch changes

This commit is contained in:
Thomas Braun 2025-05-16 15:34:51 +02:00
parent cac566c70a
commit 262307e61e
2 changed files with 3 additions and 3 deletions

View file

@ -13,6 +13,6 @@ jobs:
shell: bash
run: |
curl -X POST \
-H "Authorization: Bearer ${{ secrets.GH_PAT_JKL }}" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/repos/${{ github.repository }}/pages/builds

View file

@ -87,7 +87,7 @@ $ReleaseData = @{
generate_release_notes = $true
}
$ReleaseResponse = Invoke-RestMethod `
-Uri "https://api.github.com/repos/jklingen/greenshot/releases" `
-Uri "https://api.github.com/repos/greenshot/greenshot/releases" `
-Method POST `
-Headers $Headers `
-Body (ConvertTo-Json $ReleaseData -Depth 10)
@ -138,7 +138,7 @@ Write-Host "File uploaded successfully: $FileName"
# Step 7: Trigger GitHub Pages Rebuild
#Write-Host "Triggering GitHub Pages rebuild..."
#Invoke-RestMethod `
# -Uri "https://api.github.com/repos/jklingen/greenshot/pages/builds" `
# -Uri "https://api.github.com/repos/greenshot/greenshot/pages/builds" `
# -Method POST `
# -Headers $Headers
#if ($LASTEXITCODE -ne 0) {