Mirror of my GitHub Pages site www.spenser.black/
0

Configure Feed

Select the types of activity you want to include in your feed.

Add deploy workflow

authored by

Spenser Black and committed by
GitHub
(Jun 30, 2026, 11:16 PM UTC) 9a32a283 3b04120f

+41
+41
.github/workflows/deploy.yml
··· 1 + name: Deploy to Pages 2 + 3 + on: 4 + push: 5 + branches: ["main"] 6 + 7 + workflow_dispatch: 8 + 9 + permissions: 10 + contents: read 11 + pages: write 12 + id-token: write 13 + 14 + # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. 15 + # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. 16 + concurrency: 17 + group: "pages" 18 + cancel-in-progress: false 19 + 20 + jobs: 21 + deploy: 22 + name: Deploy 23 + environment: 24 + name: github-pages 25 + url: ${{ steps.deployment.outputs.page_url }} 26 + runs-on: ubuntu-latest 27 + steps: 28 + - name: Checkout 29 + uses: actions/checkout@v7 30 + - uses: pnpm/setup@v1 31 + - name: Build 32 + run: pnpm build 33 + - name: Setup Pages 34 + uses: actions/configure-pages@v6 35 + - name: Upload artifact 36 + uses: actions/upload-pages-artifact@v5 37 + with: 38 + path: "dist" 39 + - name: Deploy to GitHub Pages 40 + id: deployment 41 + uses: actions/deploy-pages@v5