Skip to content

stoplightio/stoplight-cli-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stoplight CLI Workflow

Use this workflow to push data to Stoplight CLI projects from your GitHub repository

When will this push data?

When there's a push made to the default branch or branches starting with design/ OR when a pull request is made in the repository on any branch

AND

When theres a change in json,yaml,yml or md files

Using the Stoplight CLI Workflow

  1. Create a .github/workflows folder in your repository
  2. Copy the stoplight-cli-workflow.yml file into the .github/workflows folder you created in Step 1
  3. Add your project CI token on Line 28. You can get the CI token from the project settings of a CLI project.
  4. Add your project URL on Line 30. You can get the project URL from the browser bar. e.g. https://your-workspace.stoplight.io/project-name.
  5. Create a PR to see it work

Releases

No releases published

Packages

No packages published