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 bf5f3f8
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 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,16 @@ 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: |
cd docs
npm -g i pnpm
- name: Install dependencies
run: pnpm install
Expand Down

0 comments on commit bf5f3f8

Please sign in to comment.