Skip to content

Commit

Permalink
Add build_type parameter back to API call
Browse files Browse the repository at this point in the history
  • Loading branch information
James M. Greene authored and James M. Greene committed Feb 16, 2023
1 parent 873190c commit 5a87528
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ async function enablePagesSite({ githubToken }) {
try {
const response = await octokit.rest.repos.createPagesSite({
owner: github.context.repo.owner,
repo: github.context.repo.repo
repo: github.context.repo.repo,
build_type: 'workflow'
})

const pageObject = response.data
Expand Down

0 comments on commit 5a87528

Please sign in to comment.