-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: refactor contributor page #809
Conversation
okay it looks good but wondering if we can do more than 2 columns and if we can fetch the data from https://ai16z.github.io/data/contributors.json |
Good to go? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall everything looks good, we just need to add an .env variable / modify this access token variable in repo settings as specified in the docusaurus.config.js
what if we had a workflow to update docs when pushing to docs branch? name: Deploy Docs
on:
push:
branches:
- docs
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 9.4.0
- uses: actions/setup-node@v4
with:
node-version: "23"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
# Add the environment variable mapping here
- name: Build website
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GH_TOKEN }}
run: pnpm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./build
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com
``` |
Relates to:
Risks
Background
What does this PR do?
What kind of change is this?
Documentation changes needed?
Testing
Where should a reviewer start?
Detailed testing steps