Skip to content

Commit

Permalink
chore: 🤖 add prefix path for ipfs support
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Aug 9, 2023
1 parent 5feb953 commit 410bbb4
Showing 1 changed file with 17 additions and 23 deletions.
40 changes: 17 additions & 23 deletions .github/workflows/openrpc-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,29 +78,23 @@ jobs:
],
}" > gatsby-config.js
- name: TIAS
- name: Install dependencies
working-directory: ./docs/rpc/docs/gatsby
run: |
ls -la
ls -la ./docs/gatsby
cat ./docs/gatsby/gatsby-config.js
# - name: Install dependencies
# working-directory: ./docs/rpc/docs/gatsby
# run: |
# npm i [email protected] [email protected] -S
# npm i [email protected] -S
# npm install --force
# npm install gatsby-plugin-ipfs
npm i [email protected] [email protected] -S
npm i [email protected] -S
npm install --force
npm install gatsby-plugin-ipfs
# - name: Build docs
# working-directory: ./docs/rpc/docs/gatsby
# run: npm run build
- name: Build docs
working-directory: ./docs/rpc/docs/gatsby
run: npm run build

# - name: Deploy to GitHub Pages
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./docs/rpc/docs/gatsby/public
# # https://github.com/actions/checkout/issues/13#issuecomment-724415212
# user_name: github-actions[bot]
# user_email: 41898282+github-actions[bot]@users.noreply.github.com
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/rpc/docs/gatsby/public
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com

0 comments on commit 410bbb4

Please sign in to comment.