From 6ea0bcef86eb7d1ee569e74479f49fb2a7712440 Mon Sep 17 00:00:00 2001 From: d3vyce Date: Sun, 11 Feb 2024 12:28:00 +0100 Subject: [PATCH] fix: hugo image build --- .gitea/workflows/build_hugo_image.yml | 12 ++++++------ README.md | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build_hugo_image.yml b/.gitea/workflows/build_hugo_image.yml index dcc5633..86b0147 100644 --- a/.gitea/workflows/build_hugo_image.yml +++ b/.gitea/workflows/build_hugo_image.yml @@ -3,7 +3,7 @@ name: Build Hugo Docker Image on: push: branches: - - main + - hugo_update jobs: build docker: @@ -11,11 +11,11 @@ jobs: steps: - name: checkout code uses: actions/checkout@v3 - - name: Get changed files - id: changed-files - uses: tj-actions/changed-files@v42 - with: - files: hugo.Dockerfile + # - name: Get changed files + # id: changed-files + # uses: tj-actions/changed-files@v42 + # with: + # files: hugo.Dockerfile - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx diff --git a/README.md b/README.md index 998e9c4..192e85d 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ ## Install ``` +export PATH=$PATH:/usr/local/go/bin CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest git submodule update --recursive ``` \ No newline at end of file