From 871931cfac3891c230cad2048ef531e069659293 Mon Sep 17 00:00:00 2001 From: Devansh Ramgopal Agrawal Date: Wed, 28 Aug 2024 10:57:36 -0400 Subject: [PATCH 1/2] changed workflow to run on production --- .github/workflows/hugo.yaml | 2 +- readme.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 1de5082..29de5c5 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -5,7 +5,7 @@ on: # Runs on pushes targeting the default branch push: branches: - - main + - production # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/readme.md b/readme.md index c5dfcde..d210569 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ # DASC Lab Website -## Local Development +## Development Install Hugo, following the steps at https://gohugo.io/installation/ This website was built using Hugo v0.132.1 @@ -11,7 +11,7 @@ hugo server ``` and navigate to the url, usually `http://localhost:1313/`. -After the changes have been made, commit them onto a new branch, and create a PR to merge the content into `main`. +After the changes have been made, commit them onto a new branch, and create a PR to merge the content into `production`. The github workflows will automatically deploy the new version of the website. ## Adding Content From fdb67db5383ab09d78db2fea8e13d8481d584acc Mon Sep 17 00:00:00 2001 From: Devansh Ramgopal Agrawal Date: Wed, 28 Aug 2024 11:00:12 -0400 Subject: [PATCH 2/2] fixed base url --- hugo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugo.toml b/hugo.toml index aec7a57..0e7f2ad 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,4 +1,4 @@ -baseURL = 'https://example.org/' +baseURL = 'https://dasc-lab.github.io/' languageCode = 'en-us' title = 'DASC Lab UMich'