deploy.cc / Generator
Deploy config generator
Pick a type, fill in options, get a ready-to-use file. Outputs are tested with actionlint, hadolint, systemd-analyze and docker build before release; action versions checked 2026-11-13.
Actions → Cloudflare PagesActions → GitHub PagesActions → SSH deploy to VPSActions → Docker build & pushDockerfiledocker-compose.ymlsystemd unitPM2 ecosystem
.github/workflows/deploy-github-pages.yml
# Build and publish to GitHub Pages (deploy.cc)
# Repo → Settings → Pages → Source: GitHub Actions
name: Deploy to GitHub Pages
on:
push:
branches: ['main']
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: '24'
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: 'npm run build'
- uses: actions/configure-pages@v6
- uses: actions/upload-pages-artifact@v5
with:
path: 'dist'
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v5
- Set Settings → Pages → Source to GitHub Actions.
- Project pages live under /<repo>/; set your framework's base path.
- npm ci and the setup-node npm cache need a committed package-lock.json.
Inputs are restricted to safe characters; invalid values fall back to defaults.