Skip to content

Commit 0517c89

Browse files
authored
Create build-and-deploy.yml
1 parent c0b23cd commit 0517c89

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build and deploy
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
7+
permissions:
8+
contents: write
9+
jobs:
10+
build-and-deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout 🛎️
14+
uses: actions/checkout@v3
15+
16+
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
17+
run: npm run build
18+
19+
- name: Deploy 🚀
20+
uses: JamesIves/github-pages-deploy-action@v4
21+
with:
22+
folder: dist/client

0 commit comments

Comments
 (0)