Skip to content

Commit

Permalink
update deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cipherlogs committed Jan 25, 2024
1 parent e77d030 commit 7fa2402
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Deploy static content to Pages
on:
push:
branches: ['main']
path:
- 'docs/**'

workflow_dispatch:

Expand All @@ -24,11 +26,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Change to docs directory
run: cd docs

- name: Set Node and PNPM
uses: wyvox/action-setup-pnpm@v3.0.1
uses: actions/setup-node@v4.0.1

- name: Navigate to docs folder
run: cd docs
- name: Install PNPM
run: npm -g i pnpm

- name: Install dependencies
run: pnpm install
Expand Down

0 comments on commit 7fa2402

Please sign in to comment.