mirror of
https://github.com/status-im/actions-gh-pages.git
synced 2025-01-12 06:14:16 +00:00
parent
7e92312ae4
commit
e193524bff
@ -29,7 +29,9 @@ export async function copyAssets(publishDir: string, workDir: string): Promise<v
|
||||
}
|
||||
|
||||
export async function setRepo(inps: Inputs, remoteURL: string, workDir: string): Promise<void> {
|
||||
const publishDir = path.join(`${process.env.GITHUB_WORKSPACE}`, inps.PublishDir);
|
||||
const publishDir = path.isAbsolute(inps.PublishDir)
|
||||
? inps.PublishDir
|
||||
: path.join(`${process.env.GITHUB_WORKSPACE}`, inps.PublishDir);
|
||||
|
||||
core.info(`[INFO] ForceOrphan: ${inps.ForceOrphan}`);
|
||||
if (inps.ForceOrphan) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user