Skip to content

Commit

Permalink
Create sync-to-gitlab.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
syselement committed Mar 4, 2024
1 parent f050948 commit cb3b10d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/sync-to-gitlab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Sync Repo To Gitlab

on: [push, pull_request, create, delete]

jobs:
sync:
name: Gitlab Sync
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: action-pack/gitlab-sync@v3
with:
username: ${{ secrets.TARGET_USERNAME }}
url: ${{ secrets.TARGET_URL }}
# Personal access token from gitlab.com
token: ${{ secrets.TARGET_TOKEN }}

0 comments on commit cb3b10d

Please sign in to comment.