Skip to content

Commit aeda505

Browse files
committed
merge install and build jobs
1 parent d9bc654 commit aeda505

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/pages.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: ['main']
66

77
jobs:
8-
install-and-cache:
8+
install-and-build:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
@@ -26,10 +26,6 @@ jobs:
2626
- name: Install dependencies
2727
run: pnpm install
2828

29-
build:
30-
needs: install-and-cache
31-
runs-on: ubuntu-latest
32-
steps:
3329
- name: build
3430
env:
3531
BASE_PATH: '/${{ github.event.repository.name }}'
@@ -43,7 +39,7 @@ jobs:
4339
path: 'build/'
4440

4541
deploy:
46-
needs: build
42+
needs: install-and-build
4743
runs-on: ubuntu-latest
4844

4945
permissions:

0 commit comments

Comments
 (0)