Skip to content

Commit

Permalink
Attempt change directory for pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ljvmiranda921 committed Jan 15, 2025
1 parent 4fe45af commit 85cb149
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 55 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Deploy Hugo site to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -44,14 +44,11 @@ jobs:
id: pages
uses: actions/configure-pages@v1
- name: Build with Hugo
run: |
hugo \
--minify \
--baseURL ${{ steps.pages.outputs.base_url }}
run: cd website && ls && hugo --minify --baseURL ${{ steps.pages.outputs.base_url }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./public
path: ./website/public

# Deployment job
deploy:
Expand Down
42 changes: 42 additions & 0 deletions website/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
baseURL = "https://ljvmiranda921.github.io/calamancy"
languageCode = "en-us"
title = "calamanCy"
theme = "xmin"

ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_cache$"]
footnotereturnlinkcontents = ""

[permalinks]
note = "/note/:year/:month/:day/:slug/"
post = "/post/:year/:month/:day/:slug/"

[menu]
[[menu.main]]
name = "Home"
url = ""
weight = 1
[[menu.main]]
name = "News"
url = "news/"
weight = 2
[[menu.main]]
name = "Tutorials"
url = "tutorials/"
weight = 3
[[menu.main]]
name = "Who uses calamanCy"
url = "users/"
weight = 4

[params]
description = "A website built through Hugo and blogdown."
footer = "© [Lj V. Miranda](https://ljvmiranda921.github.io) 2023 -- {Year} | [Github](https://github.com/ljvmiranda921/) | [Twitter](https://twitter.com/ljvmiranda)"

[markup.goldmark.renderer]
unsafe = true

[markup.highlight]
codeFences = false

[markup.goldmark.extensions.passthrough]
enable = true
49 changes: 0 additions & 49 deletions website/hugo.yaml

This file was deleted.

0 comments on commit 85cb149

Please sign in to comment.