Skip to content

Commit

Permalink
add GHA to deploy partykit on commit
Browse files Browse the repository at this point in the history
  • Loading branch information
troypoulter committed Apr 6, 2024
1 parent df4e3e5 commit 342dc27
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy-partykit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy PartyKit

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- run: npm ci
- run: npx partykit deploy
env:
PARTYKIT_TOKEN: ${{ secrets.PARTYKIT_TOKEN }}
PARTYKIT_LOGIN: ${{ secrets.PARTYKIT_LOGIN }}

0 comments on commit 342dc27

Please sign in to comment.