Skip to content

Commit efcf989

Browse files
authored
Create main.yml
1 parent 4cfa9aa commit efcf989

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 Frontend to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout Repository
17+
uses: actions/checkout@v4
18+
19+
- name: Deploy to GitHub Pages
20+
uses: JamesIves/github-pages-deploy-action@v4
21+
with:
22+
branch: gh-pages
23+
folder: frontend

0 commit comments

Comments
 (0)