Skip to content

Commit 945b67a

Browse files
add deploy workflow
1 parent efff7af commit 945b67a

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy
2+
on:
3+
push:
4+
branches: [main]
5+
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- name: Build
13+
run: npm ci && npm run build
14+
15+
- name: Deploy
16+
id: deploy
17+
uses: shipstatic/ship-action@v0.2.0-beta
18+
with:
19+
api-key: ${{ secrets.SHIP_API_KEY }}
20+
path: ./dist
21+
22+
- name: Summary
23+
run: echo "Deployed to ${{ steps.deploy.outputs.url }}" >> "$GITHUB_STEP_SUMMARY"

0 commit comments

Comments
 (0)