Skip to content

Commit

Permalink
[appveyor] Only trigger final step on actual final build
Browse files Browse the repository at this point in the history
  • Loading branch information
TheQwertiest committed Aug 10, 2024
1 parent 8a1a9be commit 477b71f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@ deploy_script:
on_success:
# issues clean up
- ps: |
If ($env:APPVEYOR_REPO_TAG -eq $true -and $env:CONFIGURATION -eq "Release")
If ($env:APPVEYOR_REPO_TAG -eq $true -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORM -eq "x64")
{
py -u submodules\fb2k_utils\scripts\close_gh_issues.py
}
# gh-pages
- ps: |
If ($env:APPVEYOR_REPO_TAG -eq $true -and $env:CONFIGURATION -eq "Release")
If ($env:APPVEYOR_REPO_TAG -eq $true -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORM -eq "x64")
{
git config --global credential.helper store
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GITHUB_TOKEN):[email protected]`n"
Expand Down

0 comments on commit 477b71f

Please sign in to comment.