mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2025-08-15 10:37:49 +00:00
Update appveyor.yml
This commit is contained in:
parent
8879373892
commit
d41b9567d3
@ -80,13 +80,14 @@ build_script:
|
|||||||
- ps: |
|
- ps: |
|
||||||
if( $env:appveyor_repo_branch -eq 'develop' )
|
if( $env:appveyor_repo_branch -eq 'develop' )
|
||||||
{
|
{
|
||||||
$apiUrl = 'https://ci.appveyor.com/api'
|
$accountname = 'Applevangelist'
|
||||||
$token = 'qts80b5kpq0ooj4x6vvw'
|
$apiUrl = 'https://ci.appveyor.com/api/account/$accountname'
|
||||||
|
$token = 'v2.6hcv3ige78kg3yvg4ge8'
|
||||||
$headers = @{
|
$headers = @{
|
||||||
"Authorization" = "Bearer $token"
|
"Authorization" = "Bearer $token"
|
||||||
"Content-type" = "application/json"
|
"Content-type" = "application/json"
|
||||||
}
|
}
|
||||||
$RequestBody = @{ accountName = 'FlightControl-Master'; projectSlug = 'moose-docs-develop'; branch = 'master'; environmentVariables = @{} } | ConvertTo-Json
|
$RequestBody = @{ accountName = 'Applevangelist'; projectSlug = 'moose-docs-develop'; branch = 'master'; environmentVariables = @{} } | ConvertTo-Json
|
||||||
# get project with last build details
|
# get project with last build details
|
||||||
$project = Invoke-RestMethod -method Post -Uri "$apiUrl/builds" -Headers $headers -Body $RequestBody
|
$project = Invoke-RestMethod -method Post -Uri "$apiUrl/builds" -Headers $headers -Body $RequestBody
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user