Skip to content

Commit

Permalink
Add gitlab mirror action
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Oct 26, 2024
1 parent 981369d commit ee02179
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Mirror to drupal.org
on:
push:
branches: [1.0.x]
tags: '*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Mirror + trigger CI
uses: SvanBoxel/gitlab-mirror-and-ci-action@master
with:
args: "https://git.drupalcode.org/project/turnstile_protect"
env:
FOLLOW_TAGS: "true"
FORCE_PUSH: "false"
GITLAB_HOSTNAME: "git.drupal.org"
GITLAB_USERNAME: "foo"
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
GITLAB_PROJECT_ID: "163458"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ee02179

Please sign in to comment.