From b364fa9b80a8118456c7bec88caf837f269294d0 Mon Sep 17 00:00:00 2001 From: Katherine Wilsdon Date: Wed, 8 Nov 2023 10:16:06 -0700 Subject: [PATCH] mirror --- .github/workflows/deploy-main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/deploy-main.yml diff --git a/.github/workflows/deploy-main.yml b/.github/workflows/deploy-main.yml new file mode 100644 index 0000000..b481307 --- /dev/null +++ b/.github/workflows/deploy-main.yml @@ -0,0 +1,19 @@ +name: Deploy Digital Twin Analytics SEARCH Main +on: + workflow_dispatch: + push: + branches: [ "main" ] + +jobs: + mirror-repository: + runs-on: [ self-hosted ] + steps: + - uses: actions/checkout@v3 + with: + ref: main + - shell: bash + name: mirror-digital-twin-analytics-search-repo + run: | + git fetch --unshallow origin + git remote add github-pub ${{ secrets.PUBLIC_GITHUB_URL }} || git remote set-url github-pub ${{ secrets.PUBLIC_GITHUB_URL }} + git push github-pub main --force \ No newline at end of file