Skip to content

Commit

Permalink
Create oc.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pathmapper authored May 27, 2024
1 parent a489453 commit 2a2733c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/oc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: oc

on:
- push
- delete

jobs:
sync:
runs-on: ubuntu-latest
name: Git Repo Sync

steps:
- name: Checkout GitHub Repository
uses: actions/[email protected]
with:
fetch-depth: 0

- name: Configure Git and Sync to GitLab
run: |
git remote add gitlab https://oauth2:${{ secrets.TARGET_TOKEN }}@${{ secrets.TARGET_URL }}
git push gitlab HEAD:main

0 comments on commit 2a2733c

Please sign in to comment.