Skip to content

Commit 82fb439

Browse files
authored
Merge pull request acmephp#326 from lyrixx/subtee
Use GHA to run the subtree
2 parents bb352f5 + 4baf15a commit 82fb439

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

.github/workflows/gitsplit.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: gitsplit
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
release:
9+
types: [published]
10+
11+
jobs:
12+
gitsplit:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: checkout
16+
run: git clone https://github.com/acmephp/acmephp /home/runner/work/acmephp/acmephp && cd /home/runner/work/acmephp/acmephp
17+
- name: Split repositories
18+
uses: docker://jderusse/gitsplit:latest
19+
with:
20+
args: gitsplit
21+
env:
22+
GH_TOKEN: ${{ secrets.PRIVATE_TOKEN }}

.gitsplit.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# See https://github.com/jderusse/docker-gitsplit
22

3-
# Path to a cache directory Used to speed up the split over time by reusing git's objects
4-
cache_url: "/cache/gitsplit"
5-
63
splits:
74
- prefix: "src/Core"
85
target: "https://${GH_TOKEN}@github.com/acmephp/core.git"

0 commit comments

Comments
 (0)