GitHub Actions

Push to Deploy,

Official GitHub Actions make deployment automatic. Deploy files with deploy-action, purge cache with purge-action. Push to main and go live.

Deploy
Action
Purge
Action
600+
Edge Locations
SSL
Included
Deploy Action

quantcdn/deploy-action

Upload static files to QuantCDN. Chunk-based uploads with revision tracking for efficient deployments. Supports any static site generator output.

  • Chunk-based uploads
  • Revision tracking
  • Skip purge option
  • Configurable chunk size
Deploy action docs
config.yml
# .github/workflows/deploy.yml
name: Deploy to QuantCDN

on:
push:
  branches: [main]

jobs:
deploy:
  runs-on: ubuntu-latest
  steps:
    - uses: actions/checkout@v4
    - run: npm ci && npm run build

    - name: Deploy to QuantCDN
      uses: quantcdn/deploy-action@v2.1.0
      with:
        customer: ${{ env.QUANT_CUSTOMER }}
        project: ${{ env.QUANT_PROJECT }}
        token: ${{ env.QUANT_TOKEN }}
        dir: dist
        chunk-size: 20
        skip-purge: true
        revision-log: .quant-revision

    - name: Purge cache
      uses: quantcdn/purge-action@v2.1.0
      with:
        customer: ${{ env.QUANT_CUSTOMER }}
        project: ${{ env.QUANT_PROJECT }}
        token: ${{ env.QUANT_TOKEN }}
        url_pattern: "/*"
Purge Action

quantcdn/purge-action

Invalidate CDN cache after deployment. Purge by URL pattern to ensure visitors see the latest content immediately.

  • Pattern-based purge
  • Wildcard support
  • Full site purge
  • Fast propagation
Purge action docs
CPU Usage
23%
Memory
1.2 GB
Requests/min
12.4k
+18%
Avg Response
42ms
-12%
Configuration

Workflow Configuration

Configure triggers, secrets, and environment variables. Deploy on push to main, PRs, or any GitHub event. Use repository secrets or environment variables.

  • Environment variables
  • Repository secrets
  • Flexible triggers
  • Branch-specific config
Configuration guide
Terminal
~/my-site $
quant deploy ./dist
Scanning 1,847 files...
Comparing checksums with deployed content...
12 files changed
3 files added
1,832 files unchanged (skipped)
15 files uploaded
Cache invalidated
Deployed in 2.1s → https://example.com

Set Up GitHub Actions

Automated deployments in three steps.

1

Add Credentials

Set QUANT_CUSTOMER, QUANT_PROJECT, and QUANT_TOKEN as environment variables or secrets.

2

Create Workflow

Add the workflow file to .github/workflows/ in your repository.

3

Push & Deploy

Push to main branch. GitHub Actions builds and deploys automatically.

Automate Your Deployments

Set up GitHub Actions deployment. 30-day free trial.

Deploy action
Purge action
Chunk uploads
30-day free trial