From 22175ec57df057f52e98f1375206e038bd223a9e Mon Sep 17 00:00:00 2001 From: Alan Ream Date: Thu, 23 Nov 2023 09:57:28 -0600 Subject: [PATCH] Repo cleanup (#13) * remove build spec * fix hugo --- .github/workflows/hugo.yml | 3 +-- buildspec.yml | 24 ------------------------ 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 buildspec.yml diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 6daddb1..b94ac9b 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -55,8 +55,7 @@ jobs: HUGO_ENV: production run: | hugo \ - --minify \ - --baseURL "${{ steps.pages.outputs.base_url }}/" + --minify - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: diff --git a/buildspec.yml b/buildspec.yml deleted file mode 100644 index f70dc06..0000000 --- a/buildspec.yml +++ /dev/null @@ -1,24 +0,0 @@ -version: 0.2 - -phases: - install: - runtime-versions: - python: 3.9 - commands: - - wget https://github.com/gohugoio/hugo/releases/download/v${VERSION_HUGO}/hugo_extended_${VERSION_HUGO}_Linux-64bit.tar.gz - - tar --overwrite -xf hugo_extended_${VERSION_HUGO}_Linux-64bit.tar.gz hugo - - mv hugo /usr/bin/hugo - - rm -rf hugo_extended_${VERSION_HUGO}_Linux-64bit.tar.gz - - hugo version - pre_build: - commands: - - echo In pre_build phase.. - - echo Current directory is $CODEBUILD_SRC_DIR - - ls -la - build: - commands: - - hugo -artifacts: - files: - - '**/*' - base-directory: public