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 4f06d0b commit a14e33bCopy full SHA for a14e33b
.github/workflows/deploy.yml
@@ -0,0 +1,31 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repository content
14
+ uses: actions/checkout@v3
15
16
+ - name: Set up Node.js
17
+ uses: actions/setup-node@v3
18
+ with:
19
+ node-version: '18.x'
20
+ cache: 'pnpm'
21
22
+ - name: Install dependencies
23
+ run: pnpm install
24
25
+ - name: Build project
26
+ run: pnpm run build
27
28
+ - name: Deploy to GitHub Pages
29
+ run: pnpm run gh-pages
30
+ env:
31
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments