Skip to content

Allow model customization per-project #51

Allow model customization per-project

Allow model customization per-project #51

name: Deploy PartyKit
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
party:
- 'apps/messages/**'
- '.github/workflows/deploy-partykit.yml'
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: bun install
if: steps.filter.outputs.party == 'true'
- run: bun run deploy --filter=messages
if: steps.filter.outputs.party == 'true'
env:
PARTYKIT_TOKEN: ${{ secrets.PARTYKIT_GITHUB_TOKEN }}
PARTYKIT_LOGIN: ${{ secrets.PARTYKIT_GITHUB_LOGIN }}