We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beffb9e commit e600320Copy full SHA for e600320
.github/workflow/deploy.yml
@@ -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
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