Skip to content

Commit

Permalink
Fixed docs building and deploying by installing required peer depende…
Browse files Browse the repository at this point in the history
…ncies (#135)
  • Loading branch information
codebycarson authored Mar 29, 2024
1 parent 8a26cc8 commit d40a31c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploydocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down Expand Up @@ -39,9 +39,12 @@ jobs:
- name: Install Dependencies
run: yarn

- name: Install Peer Dependencies
run: yarn add -W [email protected] wagmi

- name: Create Docs
run: yarn docs

# Checks out the newly built docs artifact to the gh-pages branch of this repo
# Then, publishes to github actions.
- name: Checkout gh-pages and Deploy to GitHub Pages
Expand All @@ -52,4 +55,4 @@ jobs:
build_dir: docs
keep_history: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d40a31c

Please sign in to comment.