Skip to content

Commit 1246fe5

Browse files
try removing PAT from distro-build (microsoft#157950)
1 parent b731bee commit 1246fe5

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

build/azure-pipelines/distro-build.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,16 @@ trigger:
77
pr: none
88

99
steps:
10+
- checkout: self
11+
persistCredentials: true
12+
1013
- task: NodeTool@0
1114
inputs:
1215
versionSpec: "16.x"
1316

14-
- task: AzureKeyVault@1
15-
displayName: "Azure Key Vault: Get Secrets"
16-
inputs:
17-
azureSubscription: "vscode-builds-subscription"
18-
KeyVaultName: vscode
19-
SecretsFilter: "github-distro-mixin-password"
20-
2117
- script: |
2218
set -e
2319
24-
cat << EOF > ~/.netrc
25-
machine github.com
26-
login vscode
27-
password $(github-distro-mixin-password)
28-
EOF
29-
3020
git config user.email "[email protected]"
3121
git config user.name "VSCode"
3222

0 commit comments

Comments
 (0)