Specification of the Task to pass for GitHub Pages¶
This task performs the following operations:
In the Settings (Configuration), check the following items
From
To
URL for GitHub Pages
Checks if the path specified by
Fromexists.Exit if it does not exist (treated as an abnormal exit).
Checks if the path specified by
Toexists.If it doesn’t exist, create it.
Exit the program if it cannot be created (treated as an abnormal exit).
Check the URL specified in
URL for GitHub Pages.Exit if any placeholder
<USERNAME>or<REPOSITORY>remains (treated as abnormal exit).Replace the
${DIR_NAME}keyword, if present, with the name of your workspace folder.
Check to see if the
.nojekyllfile exists.Keeps information on whether or not it exists
Deletes files/folders in the directory specified by
To.The
.nojekyllfile in the directory will also be removed.
Copies the data in the directory specified by
Fromto the directory specified byTo.If the
.nojekyllfile exists, recreate it.Fetch HTML files in the
Todirectory and insert<base>tags in the<head>of each file.
If you encounter problems when running the Task, check the Terminal messages. This is the only way to determine the cause of the error.
[Figure below] If you see a red warning message in the terminal or a message like The terminal process faild to launch (exit code:2) , it means that something went wrong and the process was interrupted.
Check the contents of the message and make sure there is no problem with the execution environment.
Note
If you cannot solve a problem, please report it in Issues . Bugs and other reports are only accepted from this page.


