subhanafz/Preview Control

Create or destroy preview environments via branch-previewer API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
operationOperation to run: create or destroyyes
api_base_urlBase URL for the preview API, e.g. https://preview-api.example.comyes
api_keyAPI key for X-API-Key headeryes
repo_slugGitHub repository slug, e.g. owner/repoyes
branchGit branch nameyes
pr_numberPull request number for DNS hostname generationno
commit_shaCommit SHA to deploy for create operationno
timeout_secondsHTTP timeout for each request in secondsno900
retry_countNumber of retries for transient failuresno3
retry_backoff_secondsBase backoff seconds between retriesno2
ignore_missing_on_destroyTreat 404 as success for destroynotrue
namedescription
operationOperation executed by the action
repo_slugRepository slug used in API call
branchBranch used in API call
ipPreview public IP for create
hostnamePreview hostname for create
urlPreview URL for create
droplet_idPreview droplet id for create
createdWhether preview was newly created
existsWhether preview exists after create
expires_atUnix expiration timestamp
seconds_remainingSeconds until preview expires
destroyedWhether destroy endpoint reported success