Skip to content

Commit

Permalink
Change sync alias.yml (#20899)
Browse files Browse the repository at this point in the history
* Set up first CI try with Azure Pipelines

description here! [skip ci]

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* commit me

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* remove test yml

* rectify_git_url

---------

Co-authored-by: Hongtu Zhang (FA Talent) <v-hongtzhang@microsoft.com>
  • Loading branch information
greathongtu and Hongtu Zhang (FA Talent) authored Feb 10, 2023
1 parent 2577567 commit a317e63
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .azure-pipelines/sync-aliases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,17 @@ jobs:
./tools/Github/ParseWiki2Json.ps1 -ADOToken $(ADOToken)
displayName: Update fabricbot.json file locally
- task: PowerShell@2
displayName: Git commit and push
inputs:
targetType: inline
script: |
git config --global user.email "65331932+azure-powershell-bot@users.noreply.github.com"
git config --global user.name "azure-powershell-bot"
git checkout -b "internal/sync-fabricbot-json"
- pwsh: |
git config --global user.email "65331932+azure-powershell-bot@users.noreply.github.com"
git config --global user.name "azure-powershell-bot"
git checkout -b "internal/sync-fabricbot-json"
git add .
git commit -m "Sync fabricbot.json"
git add .
git commit -m "Sync fabricbot.json"
git remote set-url origin https://$(BotAccessToken)@github.com/Azure/azure-powershell.git;
git push origin internal/sync-fabricbot-json --force
git remote set-url origin https://azure-powershell-bot:$(BotAccessToken)@github.com/Azure/azure-powershell.git;
git push origin internal/sync-fabricbot-json --force
displayName: Git commit and push
- pwsh: |
$Title = "Sync fabricbot.json According To ADO Wiki Page"
Expand Down

0 comments on commit a317e63

Please sign in to comment.