mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Update CI API tokens
The previous tokens were leaked and invalidated. Use config variables for Sauce Connect on Travis to eliminate the risk of env var leakage there.
This commit is contained in:
@@ -38,7 +38,7 @@ function Get-AuthorizationHeaderValue($username, $password) {
|
||||
}
|
||||
|
||||
$currentBranch = $env:APPVEYOR_REPO_BRANCH
|
||||
$bintrayToken = $env:bintray_token
|
||||
$bintrayToken = $env:bintray_auth_token
|
||||
$bintrayRepoUrl = 'https://api.bintray.com/packages/wrinklyninja/loot'
|
||||
$bintrayHeaders = @{ Authorization = (Get-AuthorizationHeaderValue 'wrinklyninja' $bintrayToken) }
|
||||
$packages = @(
|
||||
|
||||
@@ -15,7 +15,7 @@ if ($env:APPVEYOR_REPO_TAG -eq 'true') {
|
||||
$branchName = Get-BranchName
|
||||
|
||||
Write-Output "`nUpdating masterlists' default branch to $branchName..."
|
||||
lomad -t $env:access_token -a -d $branchName
|
||||
lomad -t $env:github_auth_token -a -d $branchName
|
||||
|
||||
if ($lastexitcode -eq 0) {
|
||||
Write-Output "Masterlists' default branches have been updated."
|
||||
|
||||
Reference in New Issue
Block a user