Skip to content

Commit

Permalink
Export GITHUB_PAGES env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewLester committed Aug 10, 2022
1 parent 789c331 commit adc528a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ async function main() {
setPagesPath({ staticSiteGenerator, generatorConfigFile, path: siteUrl.pathname })
}
outputPagesBaseUrl(siteUrl)
core.exportVariable('GITHUB_PAGES', true)
} catch (error) {
core.setFailed(error)
process.exit(1)
Expand Down

0 comments on commit adc528a

Please sign in to comment.