We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42bf1ea commit a7f5db7Copy full SHA for a7f5db7
1 file changed
.github/workflows/main.yml
@@ -7,8 +7,35 @@ on:
7
permissions:
8
contents: write
9
jobs:
10
- build-and-deploy:
+ build:
11
runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout 🛎️
14
+ uses: actions/checkout@v3
15
+
16
+ - name: Setup Node ✨
17
+ uses: actions/setup-node@v3
18
+ with:
19
+ node-version: 20.x
20
21
+ - name: Install Dependencies 🔧
22
+ run:
23
+ yarn install
24
25
+ - name: Build 🔧
26
27
+ yarn run build
28
29
+ - name: Post Build Actions 🛠️
30
31
+ yarn run github-post-build
32
+ env:
33
+ NODE_ENV: production
34
35
+ deploy:
36
+ runs-on: ubuntu-latest
37
+ needs: build
38
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'
39
environment: github-pages
40
steps:
41
- name: Checkout 🛎️
0 commit comments