Skip to content

Commit 357d7a8

Browse files
authored
add partykit deploy automation
1 parent da33711 commit 357d7a8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: 18
18+
cache: "npm"
19+
- run: npm ci
20+
- run: npx partykit deploy
21+
env:
22+
PARTYKIT_TOKEN: ${{ secrets.PARTYKIT_TOKEN }}
23+
PARTYKIT_LOGIN: ${{ secrets.PARTYKIT_LOGIN }}

0 commit comments

Comments
 (0)