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 3c251d0 commit d992befCopy full SHA for d992bef
.github/workflows/deploy.yml
@@ -0,0 +1,28 @@
1
+name: Deploy static site to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ deployment:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v6
14
+ - name: Setup Node.js (or other environment if needed)
15
+ uses: actions/setup-node@v6
16
+ with:
17
+ node-version: 24
18
+ - name: Install dependencies and build site
19
+ run: |
20
+ npm install
21
+ npm run build
22
+ - name: Upload artifact
23
+ uses: actions/upload-pages-artifact@v4
24
25
+ path: '_site' # The directory that contains the deployable files
26
+ - name: Deploy to GitHub Pages
27
+ id: deployment
28
+ uses: actions/deploy-pages@v4
0 commit comments