Skip to content

Commit f8a8b9a

Browse files
committed
chore: move installation to script
1 parent 9ca07b1 commit f8a8b9a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/docs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
cache: 'pnpm'
2929
node-version: ${{ matrix.node }}
3030

31-
- name: Install dependencies 👨🏻‍💻
32-
run: pnpm install
33-
3431
- name: Deploy To Firebase
3532
run: ./scripts/deploy-docs.sh
3633
shell: bash

scripts/deploy-docs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
curl -sL firebase.tools | bash
44

55
cd ./docs
6+
pnpm install
67
pnpm generate
78
firebase use --add "$PROJECT_ID" --token "$FIREBASE_TOKEN"
89
firebase deploy --only hosting --message "$COMMIT_MESSAGE" --token "$FIREBASE_TOKEN"

0 commit comments

Comments
 (0)