diff --git a/.appveyor.yml b/.appveyor.yml index 5e441cbcd1..c769fd85bb 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -14,9 +14,9 @@ init: - cmd: >- git config --global credential.helper store - set GITHUB_API_URL=https://api.github.com/repos/wolfman2000/stepmania/statuses/%APPVEYOR_REPO_COMMIT% + set GITHUB_API_URL=https://api.github.com/repos/%APPVEYOR_REPO_NAME%/statuses/%APPVEYOR_REPO_COMMIT% - set GITHUB_API_PENDING="{"""state""": """pending""", """target_url""": """https://ci.appveyor.com/project/wolfman2000/stepmania/build/%APPVEYOR_BUILD_VERSION%""", """description""": """Starting the appveyor build.""", """context""": """continuous-integration/appveyor"""}" + set GITHUB_API_PENDING="{"""state""": """pending""", """target_url""": """https://ci.appveyor.com/project/%APPVEYOR_REPO_NAME%/build/%APPVEYOR_BUILD_VERSION%""", """description""": """Starting the appveyor build.""", """context""": """continuous-integration/appveyor"""}" curl -u wolfman2000:%access_token% -H "User-Agent: Appveyor-wolfman2000-stepmania-app" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" -X POST -d %GITHUB_API_PENDING% %GITHUB_API_URL% @@ -33,12 +33,12 @@ build: verbosity: normal on_success: - cmd: >- - set GITHUB_API_SUCCESS="{"""state""": """success""", """target_url""": """https://ci.appveyor.com/project/wolfman2000/stepmania/build/%APPVEYOR_BUILD_VERSION%""", """description""": """Successfully compiled in appveyor.""", """context""": """continuous-integration/appveyor"""}" + set GITHUB_API_SUCCESS="{"""state""": """success""", """target_url""": """https://ci.appveyor.com/project/%APPVEYOR_REPO_NAME%/build/%APPVEYOR_BUILD_VERSION%""", """description""": """Successfully compiled in appveyor.""", """context""": """continuous-integration/appveyor"""}" curl -u wolfman2000:%access_token% -H "User-Agent: Appveyor-wolfman2000-stepmania-app" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" -X POST -d %GITHUB_API_SUCCESS% %GITHUB_API_URL% on_failure: - cmd: >- - set GITHUB_API_FAILURE="{"""state""": """failure""", """target_url""": "https://ci.appveyor.com/project/wolfman2000/stepmania/build/%APPVEYOR_BUILD_VERSION%""", """description""": """Build failure on appveyor.""", """context""": """continuous-integration/appveyor"""}" + set GITHUB_API_FAILURE="{"""state""": """failure""", """target_url""": "https://ci.appveyor.com/project/%APPVEYOR_REPO_NAME%/build/%APPVEYOR_BUILD_VERSION%""", """description""": """Build failure on appveyor.""", """context""": """continuous-integration/appveyor"""}" curl -u wolfman2000:%access_token% -H "User-Agent: Appveyor-wolfman2000-stepmania-app" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" -X POST -d %GITHUB_API_FAILURE% %GITHUB_API_URL%