Skip to content

Updated link Jack-Zhou.md (#1239) #1180

Updated link Jack-Zhou.md (#1239)

Updated link Jack-Zhou.md (#1239) #1180

name: Trigger-DevOps-Build
on:
push:
branches:
- main
paths-ignore:
- '.github/assign-by-files.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'Trigger Staging'
uses: Azure/pipelines@releases/v1
with:
azure-devops-project-url: 'https://ssw.visualstudio.com/SSW.People'
azure-pipeline-name: 'Staging'
azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}'
- name: 'Trigger Staging China'
uses: Azure/pipelines@releases/v1
with:
azure-devops-project-url: 'https://ssw.visualstudio.com/SSW.People'
azure-pipeline-name: 'Staging China'
azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}'
- name: Checkout
uses: actions/checkout@v2
- name: Trigger Production
run: |
export AZURE_DEVOPS_EXT_PAT=${{ secrets.AZURE_DEVOPS_TOKEN }}
chmod +x .workflow/build-production.sh
bash ./.workflow/build-production.sh ${{ github.token }}