Skip to content

Commit

Permalink
Moved hugo-root files into specific directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rishav-singh-0 committed Nov 19, 2024
1 parent 599d1bc commit 7ada23a
Show file tree
Hide file tree
Showing 54 changed files with 9 additions and 2,363 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,15 @@ jobs:
HUGO_ENVIRONMENT: production
TZ: Asia/Kolkata
run: |
cd hugo_root && \
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public
path: ./hugo_root/public

# Deployment job
deploy:
Expand Down
12 changes: 5 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
.temp

# Generated files by hugo
/public/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json
/hugo_root/public/
/hugo_root/resources/_gen/
/hugo_root/assets/jsconfig.json
/hugo_root/hugo_stats.json
/hugo_root/.hugo_build.lock

# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux

# Temporary lock file while building
/.hugo_build.lock
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "vault"]
path = vault
url = https://github.com/rishav-singh-0/Rishav_Notes.git
[submodule "themes/PaperMod"]
path = themes/PaperMod
[submodule "hugo_root/themes/PaperMod"]
path = hugo_root/themes/PaperMod
url = https://github.com/adityatelange/hugo-PaperMod.git
198 changes: 0 additions & 198 deletions content/posts/Arch_Installation.md

This file was deleted.

46 changes: 0 additions & 46 deletions content/posts/Linux_Containers.md

This file was deleted.

21 changes: 0 additions & 21 deletions content/posts/agriculture_ideas.md

This file was deleted.

Loading

0 comments on commit 7ada23a

Please sign in to comment.