From 0647bf67c45a67d96c889d3eff11a0660ae27aeb Mon Sep 17 00:00:00 2001 From: remyvdwereld <86827854+remyvdwereld@users.noreply.github.com> Date: Mon, 30 Oct 2023 16:25:54 +0100 Subject: [PATCH] Added Azure mirror --- .github/workflows/mirror-to-azure-devops.yml | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/mirror-to-azure-devops.yml diff --git a/.github/workflows/mirror-to-azure-devops.yml b/.github/workflows/mirror-to-azure-devops.yml new file mode 100644 index 000000000..6b2480d4f --- /dev/null +++ b/.github/workflows/mirror-to-azure-devops.yml @@ -0,0 +1,21 @@ +name: Mirror to Azure DevOps + +on: + push: + branches: + - master + +jobs: + mirror: + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v2 + + - name: Push to Azure DevOps + env: + AZURE_DEVOPS_REPO_URL_PAT: ${{ secrets.AZURE_DEVOPS_REPO_URL_PAT }} + run: | + git remote add azure-devops $AZURE_DEVOPS_REPO_URL_PAT + git push azure-devops master