Skip to content

Commit 6b294a8

Browse files
authored
Update deploy.yml
1 parent 66542d0 commit 6b294a8

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,28 @@ on:
44
push:
55
branches:
66
- main
7-
# Review gh actions docs if you want to further define triggers, paths, etc
8-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
97

108
jobs:
119
build:
1210
name: Build Site
1311
runs-on: ubuntu-latest
1412
steps:
15-
- uses: actions/checkout@v4
13+
- name: Checkout Repository
14+
uses: actions/checkout@v4
1615
with:
1716
fetch-depth: 0
18-
- uses: actions/setup-node@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
1920
with:
2021
node-version: 18
2122
cache: yarn
2223

23-
- name: Install dependencies
24-
run: yarn install --frozen-lockfile
25-
- name: Build website
24+
- name: Install Dependencies
25+
run: yarn install
26+
# You can also use `yarn install --immutable` if you're using Yarn 2+
27+
28+
- name: Build Website
2629
run: yarn build
2730

2831
- name: Upload Build Artifact

0 commit comments

Comments
 (0)