Static site hosting with a curl command
Deploy build previews, test reports, or any static site - choose your access control
Quick deployments with no authentication - perfect for public demos
Restrict access to your company emails - ideal for CI test artifacts
Simple password protection for client previews or staging environments
Perfect for PR previews and test artifact sharing
# GitHub Actions examplename: Deploy Previewon: [pull_request]jobs:build-and-deploy:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4- name: Build siterun: |# some build command# no jq needed, just use the raw response as the preview url- name: Deploy to pageup.shrun: |zip -r site.zip dist/RESPONSE=$(curl -F 'file=@site.zip' -F 'auth=company.com' https://pageup.sh/)echo "PREVIEW_URL=$RESPONSE" >> $GITHUB_ENV- name: Comment on PRuses: actions/github-script@v6with:script: |github.rest.issues.createComment({issue_number: context.issue.number,owner: context.repo.owner,repo: context.repo.repo,body: `Preview deployed to ${process.env.PREVIEW_URL}`})
| Option | Description |
|---|---|
file=@site.zip | Your site as a zip file (required) |
auth=example.com | Restrict to Google logins from domain |
pass=password | Add simple password protection |