Solutions

Bridge the Gap Between
CI and Local Environments

Use Portex to expose CI services, trigger local webhooks during testing, or create ephemeral preview environments in your CI/CD pipeline.

Get API Key Integrations

Built for Automation

Portex isn't just a CLI; it's a programmatic tool. Use our API or the headless agent to spin up tunnels automatically in your CI workflows.

  • Headless mode for CI runners
  • GitHub Actions & GitLab support
  • Deterministic subdomains for automation
CI/CD Integration

GitHub Actions Example

# .github/workflows/e2e-tests.yml
- name: Start Portex Tunnel
  run: |
    curl -fsSL https://portex.space/install.sh | bash
    portex start --port 8080 --subdomain ci-${GITHUB_RUN_ID} --token {{ secrets.PORTEX_TOKEN }} &
    sleep 5