Reusable GitHub Actions workflows.
Deploys static content (e.g. Vite, React, or Svelte apps) to GitHub Pages using pnpm.
In your project repository, create .github/workflows/deploy.yml:
name: Deploy to Pages
on:
push:
branches: ['main']
workflow_dispatch:
jobs:
deploy:
uses: jsubroto/actions/.github/workflows/pages-deploy.yml@main
secrets: inherit