Before return site domain & path, create the site

This commit is contained in:
Jess Bees
2022-06-13 17:10:28 -04:00
parent dabdcba737
commit a0e3ad5b25
5 changed files with 122 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
const core = require('@actions/core')
const enablePages = require('./enable-pages')
const getPagesBaseUrl = require('./get-pages-base-url')
// All variables we need from the runtime are loaded here
@@ -8,6 +9,7 @@ const getContext = require('./context')
async function main() {
try {
const context = getContext()
await enablePages(context)
await getPagesBaseUrl(context)
} catch (error) {
core.setFailed(error)