From 73b7d60a10abd5f5e8e1dc655dc4c043f0c24afa Mon Sep 17 00:00:00 2001 From: Vezpi Date: Thu, 1 May 2025 23:35:15 +0200 Subject: [PATCH] Moved hugo bin --- .gitea/workflows/deploy_blog.yml | 6 +++--- bin/{current => }/LICENSE | 0 bin/{current => }/README.md | 0 bin/{current => }/hugo | Bin 4 files changed, 3 insertions(+), 3 deletions(-) rename bin/{current => }/LICENSE (100%) rename bin/{current => }/README.md (100%) rename bin/{current => }/hugo (100%) diff --git a/.gitea/workflows/deploy_blog.yml b/.gitea/workflows/deploy_blog.yml index bf488f3..7c0dfba 100644 --- a/.gitea/workflows/deploy_blog.yml +++ b/.gitea/workflows/deploy_blog.yml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v4 - name: Get current Hugo version - run: echo "current_version=$(${BLOG_FOLDER}/bin/current/hugo version | grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+')" | tee -a $GITEA_ENV + run: echo "current_version=$(${BLOG_FOLDER}/bin/hugo version | grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+')" | tee -a $GITEA_ENV - name: Verify latest Hugo version run: echo "latest_version=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r .tag_name)" | tee -a $GITEA_ENV @@ -25,7 +25,7 @@ jobs: if: env.current_version != env.latest_version run: | curl -L https://github.com/gohugoio/hugo/releases/download/$latest_version/hugo_extended_${latest_version#v}_Linux-64bit.tar.gz -o hugo.tar.gz - tar -xzvf hugo.tar.gz -C ${BLOG_FOLDER}/bin/current/ + tar -xzvf hugo.tar.gz -C ${BLOG_FOLDER}/bin/ - name: Generate the static files with Hugo - run: ${BLOG_FOLDER}/bin/current/hugo -s ${BLOG_FOLDER} -d ${BLOG_FOLDER}/public + run: ${BLOG_FOLDER}/bin/hugo -s ${BLOG_FOLDER} -d ${BLOG_FOLDER}/public diff --git a/bin/current/LICENSE b/bin/LICENSE similarity index 100% rename from bin/current/LICENSE rename to bin/LICENSE diff --git a/bin/current/README.md b/bin/README.md similarity index 100% rename from bin/current/README.md rename to bin/README.md diff --git a/bin/current/hugo b/bin/hugo similarity index 100% rename from bin/current/hugo rename to bin/hugo