Blog: Running Qwen3.8-27B on DGX Spark (#262) #200
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 | |
| jobs: | |
| deploy: | |
| name: Deploy to GitHub Pages | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build website | |
| run: npm run build | |
| env: | |
| NODE_ENV: production | |
| - name: Verify build output | |
| run: | | |
| if [ ! -f "out/index.html" ]; then | |
| echo "ERROR: out/index.html not found!" | |
| exit 1 | |
| fi | |
| echo "Build successful" | |
| - name: Rewrite blog URLs as redirects to blog.kubesimplify.com | |
| # kubesimplify.com (GitHub Pages) should not host duplicate blog | |
| # content. Every /blog/* and legacy root-level blog URL becomes a | |
| # meta-refresh redirect to the canonical blog.kubesimplify.com URL. | |
| run: node scripts/make-gh-pages-redirects.mjs | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./out | |
| user_name: github-actions[bot] | |
| user_email: 41898282+github-actions[bot]@users.noreply.github.com | |
| force_orphan: true | |
| cname: kubesimplify.com |