upload logo files #62
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - fumadocs | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| env: | |
| MISE_VERBOSE: 1 | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| steps: | |
| - name: Set up mise and razd | |
| uses: razd-cli/razd-action-mise@v1 | |
| with: | |
| mise-version: "2025.6.6" | |
| razd-version: "latest" | |
| - name: Install ensures via mise | |
| run: mise install -y | |
| - name: Razd up | |
| run: razd up --yes | |
| - name: Install dependencies | |
| run: razd install --yes | |
| - name: Build Next.js (static export) | |
| run: razd build --yes | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v4 | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: out | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |