From 479cbd9e6a1315c6b743b52a18e8d57c52f17927 Mon Sep 17 00:00:00 2001 From: Kiichiro YUKAWA Date: Thu, 1 Feb 2024 11:03:11 +0900 Subject: [PATCH] Fix update content bug (#162) * :bug: Fix update content bug Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :bug: Fix Signed-off-by: vankichi * :robot: auto update stage :arrow_up: Signed-off-by: vdaas-ci * :bug: Fix Signed-off-by: vankichi * :robot: auto update stage :arrow_up: Signed-off-by: vdaas-ci * :bug: Fix Signed-off-by: vankichi --------- Signed-off-by: vankichi Signed-off-by: vdaas-ci Co-authored-by: vdaas-ci --- .github/workflows/auto-update-content.yml | 9 +++++++-- Makefile | 10 ++++++++++ go.mod | 2 +- preview | 2 +- 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-update-content.yml b/.github/workflows/auto-update-content.yml index 0cc8ed21b..eb7565e48 100644 --- a/.github/workflows/auto-update-content.yml +++ b/.github/workflows/auto-update-content.yml @@ -38,13 +38,18 @@ jobs: run: go version - name: Setup Hugo - if: steps.check_release.outputs.release == 'true' uses: peaceiris/actions-hugo@v2 with: hugo-version: latest - - name: Update root content + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: '18' + - name: Install deps run: | make init + - name: Update root content + run: | make all - name: Update latest version content run: | diff --git a/Makefile b/Makefile index a2d3fa04c..87be12436 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,16 @@ init: \ subup @go mod tidy @go mod download + @if [ -z $(shell which mage) ]; then \ + echo "\e[1;32minstall mage\e[0m" ; \ + mkdir -p tmp ; \ + cd tmp ; \ + git clone https://github.com/magefile/mage ; \ + cd mage ; \ + go run bootstrap.go ; \ + else \ + echo "\e[1;33mmage is already installed\e[0m" ; \ + fi .PHONY: run run: diff --git a/go.mod b/go.mod index f357396ce..0cfef4c14 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/vdaas/web -go 1.21.1 +go 1.21.5 diff --git a/preview b/preview index ca57d6c00..e3bda4a51 160000 --- a/preview +++ b/preview @@ -1 +1 @@ -Subproject commit ca57d6c002c8bf7d9a891498345c5ffb9ea8f898 +Subproject commit e3bda4a5181cc5a3e0f9563e5dc1db0ffae4657c