-
Clone Repository to Local
Run the following command in the Terminal in the directory you want have the website
# Run command git clone --recursive git@github.com:openlegend/openlegendrpg.com.gitRun command to install packages:
npm install
-
Update the core rules submodule
Navigate into the core-rules repository and run commands to update module.
# Change into submodule directory cd src/core-rules # Update the local repository git pull # Change back to root cd ../.. # Commit core-rules to the website repository git commit -am "Updated core-rules for website"
-
Prepare the site for deploy to github pages
Clean the last build
gatsby clean
-
Deploy Site
Run build command for website
npm run deploy
-
Check Custom Domain
Make sure to check the Pages tab under Settings to make sure the custom domain is properly set. On some deploys it will remove the custom domain.
openlegend/openlegendrpg.com
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|