Skip to content

Commit a621c27

Browse files
build: deploy to Juno from CI (junobuild#20)
1 parent c5cb93c commit a621c27

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Deploy to Juno
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out the repo
12+
uses: actions/checkout@v3
13+
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: "18"
17+
18+
- name: Install Dependencies
19+
run: npm ci
20+
21+
- name: Build
22+
run: npm run build
23+
24+
- name: Deploy to Juno
25+
uses: peterpeterparker/juno-action@main
26+
with:
27+
args: deploy

0 commit comments

Comments
 (0)