Browse Source

Add push to Gitlab action. (#966)

* Add push to Gitlab action.

* Only push 2.x branch.
pull/967/head
Rosie Le Faive 1 year ago committed by GitHub
parent
commit
5331b0b7d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 23
      .github/workflows/gitlab-mirror.yml

23
.github/workflows/gitlab-mirror.yml

@ -0,0 +1,23 @@
name: Mirror and run GitLab CI
on:
push:
branches: [2.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/islandora"
env:
FOLLOW_TAGS: "true"
FORCE_PUSH: "false"
GITLAB_HOSTNAME: "git.drupal.org"
GITLAB_USERNAME: "project_34868_bot"
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
GITLAB_PROJECT_ID: "34868"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading…
Cancel
Save