Skip to content

starters: port Academic theme to Tailwind #371

starters: port Academic theme to Tailwind

starters: port Academic theme to Tailwind #371

name: 'Package Splitter'
on:
push:
branches:
- main
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
jobs:
packages_split:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# define package to repository map
package:
- local_path: 'starters/academic-cv'
split_repository: 'theme-academic-cv'
- local_path: 'starters/resume'
split_repository: 'theme-resume'
- local_path: 'starters-bootstrap/markdown-slides'
split_repository: 'theme-markdown-slides'
- local_path: 'starters/blog'
split_repository: 'theme-blog'
- local_path: 'starters/documentation'
split_repository: 'theme-documentation'
- local_path: 'starters-bootstrap/portfolio'
split_repository: 'theme-portfolio'
- local_path: 'starters-bootstrap/course'
split_repository: 'theme-online-course'
- local_path: 'starters/link-in-bio'
split_repository: 'theme-link-in-bio'
- local_path: 'starters-bootstrap/research-group'
split_repository: 'theme-research-group'
- local_path: 'starters-bootstrap/second-brain'
split_repository: 'theme-second-brain'
- local_path: 'starters/landing-page'
split_repository: 'theme-landing-page'
steps:
- uses: actions/checkout@v3
# step if no tag is pushed
- if: "!startsWith(github.ref, 'refs/tags/')"
uses: "symplify/monorepo-split-github-action@v2.3.0"
with:
# ↓ split "packages/<package-name><package-name>" directory
package_directory: '${{ matrix.package.local_path }}'
# ↓ into https://github.com/HugoBlox/<package-name> repository
repository_organization: 'HugoBlox'
repository_name: '${{ matrix.package.split_repository }}'
# ↓ the user signed under the split commit
user_name: "Splitter Bot"
user_email: "no.reply@hugoblox.com"