mirror of
https://github.com/greenshot/greenshot
synced 2025-07-05 12:36:45 -07:00
fixed branch changes
This commit is contained in:
parent
cac566c70a
commit
262307e61e
2 changed files with 3 additions and 3 deletions
2
.github/workflows/update-gh-pages.yml
vendored
2
.github/workflows/update-gh-pages.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue