From fb614c63821bb76dd820bc250c26fd884f4d0721 Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Wed, 26 Jul 2023 14:19:34 -0400 Subject: [PATCH] Push to gitlab. (#72) --- .github/workflows/gitlab-mirror.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/gitlab-mirror.yml diff --git a/.github/workflows/gitlab-mirror.yml b/.github/workflows/gitlab-mirror.yml new file mode 100644 index 0000000..4c90a3e --- /dev/null +++ b/.github/workflows/gitlab-mirror.yml @@ -0,0 +1,25 @@ +name: Mirror to Drupal.org GitLab + +on: + push: + branches: + - 2.x + - 3.x + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Mirror + trigger CI + uses: SvanBoxel/gitlab-mirror-and-ci-action@master + with: + args: "https://git.drupalcode.org/project/jsonld" + env: + FOLLOW_TAGS: "true" + FORCE_PUSH: "false" + GITLAB_HOSTNAME: "git.drupal.org" + GITLAB_USERNAME: "project_12297_bot" + GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }} + GITLAB_PROJECT_ID: "12297" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}