From 681f7f13036bf5290b6e9e58adcb5590434f2861 Mon Sep 17 00:00:00 2001 From: Ming Quah Date: Thu, 7 Dec 2023 12:03:11 +1100 Subject: [PATCH] Add sync workflow --- .github/workflows/dorg_git_sync.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/dorg_git_sync.yml diff --git a/.github/workflows/dorg_git_sync.yml b/.github/workflows/dorg_git_sync.yml new file mode 100644 index 000000000..dfbcfd988 --- /dev/null +++ b/.github/workflows/dorg_git_sync.yml @@ -0,0 +1,19 @@ +name: dorg_git_sync + +on: push + +jobs: + dorg_git_sync: + name: dorg_git_sync + runs-on: ubuntu-latest + container: + image: ghcr.io/dpc-sdp/bay/ci-builder:5.x + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Configure Drupal.org remote + run: | + git remote add dorg git@git.drupal.org:project/tide_core.git + - name: Push the current branch to the Drupal.org remote + run: | + git push dorg HEAD \ No newline at end of file