Skip to content

Commit e600320

Browse files
committed
Deployment
1 parent beffb9e commit e600320

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflow/deploy.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Landing Page Deployment
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: 20
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Build project
26+
run: npm run build
27+
28+
- name: Deploy to GitHub Pages
29+
uses: peaceiris/actions-gh-pages@v3
30+
with:
31+
personal_token: ${{ secrets.GRAPHSCRIPT_DEPLOYMENTS }}
32+
publish_dir: ./dist
33+
publish_branch: gh-pages
34+
user_name: AttAditya
35+
user_email: attaditya@users.noreply.github.com

0 commit comments

Comments
 (0)