Skip to content

Commit

Permalink
Add push to Gitlab action. (#966)
Browse files Browse the repository at this point in the history
* Add push to Gitlab action.

* Only push 2.x branch.
  • Loading branch information
rosiel authored Jul 26, 2023
1 parent 8f15376 commit 5331b0b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/gitlab-mirror.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 5331b0b

Please sign in to comment.