mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Deploy Production Code for Commit a6f97b192c
🚀
This commit is contained in:
parent
a6f97b192c
commit
7748df9ea2
@ -51,7 +51,7 @@ const checkParameters = (action) => {
|
||||
if (!(0, fs_1.existsSync)(action.folderPath)) {
|
||||
throw new Error(`The directory you're trying to deploy named ${action.folderPath} doesn't exist. Please double check the path and any prerequisite build scripts and try again. ❗`);
|
||||
}
|
||||
if (constants_1.SupportedOperatingSystems.includes(process.env.RUNNER_OS)) {
|
||||
if (!constants_1.SupportedOperatingSystems.includes(process.env.RUNNER_OS)) {
|
||||
(0, core_1.info)(`The operating system you're using is not supported and results may be varied. Please refer to the documentation for more details. ❗`);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user