maybe #24
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 Nekoweb | |
| on: | |
| push: | |
| branches: | |
| - v4 | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "nekoweb" | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 # Fetch all history for git info | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 25 | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v6 | |
| - name: Enable pnpm | |
| run: | | |
| corepack enable | |
| corepack prepare pnpm@latest --activate | |
| - name: Build Quartz | |
| run: npx quartz build | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: public | |
| path: public | |
| deploy: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download artifact | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: public | |
| path: public | |
| - name: Deploy to Nekoweb | |
| id: deployment | |
| uses: indiefellas/deploy2nekoweb@v4 | |
| with: | |
| nekoweb-api-key: ${{ secrets.NEKOWEB_API_KEY }} | |
| nekoweb-folder: "/" | |
| directory: "public" |