birzha/.github/workflows/subsplit.yml

22 lines
606 B
YAML

name: Subsplit
on: push
jobs:
subsplit:
runs-on: ubuntu-latest
name: Split repositories
steps:
- name: Checkout history
uses: actions/checkout@v1
with:
fetch-depth: 0
- name: Split demo theme
run: ${GITHUB_WORKSPACE}/.github/workflows/scripts/subsplit/git-subsplit.sh publish \
--verbose \
--path="${GITHUB_WORKSPACE}" \
--heads="${GITHUB_REF}"
--no-tags \
--dry-run \
themes/demo:https://bennothommo:${{ secrets.MAINTENANCE_TOKEN }}@github.com:octoberrain/demo-theme.git