Use Portex to expose CI services, trigger local webhooks during testing, or create ephemeral preview environments in your CI/CD pipeline.
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.
# .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