Skip to content

Commit ce101c2

Browse files
authoredNov 1, 2024··
Create deploy.yml
1 parent 2e1c1f5 commit ce101c2

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
 

‎.github/workflows/deploy.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Deploy to Github Pages
2+
on:
3+
push:
4+
branches:
5+
- main
6+
permissions:
7+
contents: write
8+
jobs:
9+
build-and-deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Setup node.js
14+
uses: actions/setup-node@v4
15+
- name: Install
16+
run: |
17+
npm install
18+
- name: Build app
19+
run: |
20+
npm run build
21+
- name: Deploy
22+
uses: JamesIves/github-pages-deploy-action@v4
23+
with:
24+
folder: build

0 commit comments

Comments
 (0)
Please sign in to comment.