From 55b1193ecd34ae83684d212e8786459b204df4f5 Mon Sep 17 00:00:00 2001 From: Adora Laura Kalb Date: Fri, 12 Jul 2024 12:30:17 +0200 Subject: [PATCH] try importing via hugo modules --- .github/workflows/main.yml | 34 ---------------------------------- go.mod | 4 ++-- 2 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 2c44825..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Build with Hugo - -on: [push, pull_request] - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - hugo-version: - - 'latest' - - '0.124.0' - steps: - - uses: actions/checkout@v4 - with: - submodules: true # Fetch Hugo themes (true OR recursive) - fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 - with: - hugo-version: ${{ matrix.hugo-version }} - extended: true - - - name: Run Hugo - working-directory: exampleSite - run: hugo --themesDir ../.. - - # - name: Deploy - # uses: peaceiris/actions-gh-pages@v3 - # with: - # github_token: ${{ secrets.GITHUB_TOKEN }} - # publish_dir: ./public - diff --git a/go.mod b/go.mod index 3e9c89b..1bd12f0 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/alex-shpak/hugo-book +module code.lila.network/adoralaura/hugo-book-theme -go 1.16 +go 1.22.2