Skip to content

Commit

Permalink
Choose the docs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
momoto committed Jul 2, 2023
1 parent dcf52a7 commit 7f2c194
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- To build static pages, `hugo`
- To deploy it to github:
```:shell
cd public
cd docs
git add .
git commit -m "rebuilding site `date`"
git push origin HEAD:master
Expand Down
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ resourceDir = "resources" # where the files cache will be stored.
contentDir = "content" # The directory from where Hugo reads content files.
layoutDir = "layouts" # The directory from where Hugo reads layouts (templates).
staticDir = "static" # A directory or a list of directories from where Hugo reads static files.
publishDir = "public" # The directory to where Hugo will write the final static site.
publishDir = "docs" # The directory to where Hugo will write the final static site.

disableKinds = [
# "page", "home", "section", "sitemap", "robotsTXT", "404"
Expand Down
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ echo -e "\033[0;32mDeploying updates to GitHub...\033[0m"
# Build the project.
hugo # if using a theme, replace with `hugo -t <YOURTHEME>`

# Go To Public folder
cd public
# Go To Docs folder
cd docs
# Add changes to git.
git add .

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7f2c194

Please sign in to comment.