Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/crutchcorn/the-fun-framework. 🛝 An experimental homegrown JS framework. crutchcorn.github.io/the-fun-framework
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637name: Deploy Docs
on: push: branches: - main
permissions: {}
jobs: deploy-docs: permissions: contents: write # to write to gh-pages branch (peaceiris/actions-gh-pages)
runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: pnpm/action-setup@v2 with: version: 8 - uses: actions/setup-node@v3 with: node-version: '18' cache: 'pnpm'
- name: Install packages run: pnpm install --frozen-lockfile
- name: Build run: pnpm docs:build
- name: Deploy docs uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/.vitepress/dist