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 34681df commit 7f105faCopy full SHA for 7f105fa
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,31 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches: [ gh-pages ]
6
7
+jobs:
8
+ build-and-deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Git checkout
12
+ uses: actions/checkout@v2
13
14
+ - name: Use Node 12.x
15
+ uses: actions/setup-node@v1
16
+ with:
17
+ node-version: 12.x
18
19
+ - name: Install Dependencies
20
+ run: npm install
21
22
+ - name: Build
23
+ run: npm run build
24
+ env:
25
+ OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
26
27
+ - name: Deploy to GitHub Pages
28
+ uses: JamesIves/github-pages-deploy-action@v4
29
30
+ folder: .
31
+ branch: gh-pages
0 commit comments