capabilities.work

Deploy an artifact to Pages

One step with GitHub. We can help you get access.

Get something done

Deploy an artifact to Pages

with GitHub · Software Construction Management

Use GitHub: its GitHub v3 REST Repos API lets you deploy an artifact to Pages in a single step (POST /repos/{owner}/{repo}/pages/deployments). capabilities.work can help you get signed up and connected.

  • How do I publish a built artifact to Pages from a workflow?
  • What do I need, like an OIDC token and build version, to create a Pages deployment?
Say it to your AI assistant
  • Deploy artifact {artifact_url} to Pages for {owner}/{repo} as build version {pages_build_version} using token {oidc_token}.
  • Publish Pages version {pages_build_version} of {owner}/{repo} from {artifact_url} to {environment}, OIDC token {oidc_token}.
For your developer

POST /repos/{owner}/{repo}/pages/deployments in GitHub v3 REST Repos API. Full spec on APIs.io.