From 6e742bf42913cf6e312023686d1f134b41ec212a Mon Sep 17 00:00:00 2001 From: Luca Zeuch Date: Tue, 23 Jan 2024 12:29:32 +0100 Subject: [PATCH] workflows: rename deploy.yml to hugo.yml Rename the workflow from deploy.yml to hugo.yml to be more descriptive of what it is actually doing, given that it only really deploys when a commit is pushed to the master (i.e. production) branch. While we're at it, also fix a small typo messing up the HUGO_BASE_URL, it should be botlabs-gg, not botlabs.gg. Signed-off-by: Luca Zeuch --- .github/workflows/{deploy.yml => hugo.yml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{deploy.yml => hugo.yml} (95%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/hugo.yml similarity index 95% rename from .github/workflows/deploy.yml rename to .github/workflows/hugo.yml index 17e9ce0..eec302a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/hugo.yml @@ -1,5 +1,5 @@ --- -name: Deploy Hugo site to GH Pages +name: Hugo (CD) on: # Only deploy when it is accepted for production @@ -18,7 +18,7 @@ concurrency: env: HUGO_CACHEDIR: /tmp/hugo_cache/ - HUGO_BASE_URL: "https://botlabs.gg.github.io/yagpdb-docs-v2" + HUGO_BASE_URL: "https://botlabs-gg.github.io/yagpdb-docs-v2" jobs: build: