Skip to content

Commit

Permalink
Use nxtlvlsoftware/git-subtree-action@1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
webflo committed Sep 6, 2023
1 parent 728056c commit 2e2b333
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/subtree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ on:
push:
# Only trigger for specific branches or changes in specific paths.
branches:
- '*'
paths:
- src/**
- 'main'
# Tag push events should be ignored, they will be handled with the create event below.
tags-ignore:
- '*'
Expand All @@ -28,19 +26,9 @@ jobs:
persist-credentials: false
fetch-depth: 0

- uses: webfactory/ssh-agent@v0.8.0
with:
ssh-private-key: ${{ secrets.SUBTREE_SPLIT_PRIVATE_KEY }}

# Cache the splitsh executable to speedup future runs
- name: Cache splitsh-lite
uses: actions/cache@v3
with:
path: './splitsh'
key: '${{ runner.os }}-splitsh-v101'

# Sync commits and tags for the configured subtree splits
- name: subtree split
uses: acrobat/subtree-splitter@v1.1.4
- uses: nxtlvlsoftware/git-subtree-action@1.1
with:
config-path: .github/subtree.json # Reference the location where you saved your config file
repo: 'ueberbit/subtree-uebertool-companion'
path: 'packages/uebertool-companion'
deploy_key: ${{ secrets.SUBTREE_SPLIT_PRIVATE_KEY }}
force: true

0 comments on commit 2e2b333

Please sign in to comment.