diff --git a/.gitea/workflows/deploy_blog.yml b/.gitea/workflows/deploy_blog.yml index 99503bc..d13ec33 100644 --- a/.gitea/workflows/deploy_blog.yml +++ b/.gitea/workflows/deploy_blog.yml @@ -23,7 +23,7 @@ jobs: run: echo "current_version=$(${BLOG_FOLDER}/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 | grep -oP '"tag_name": "\K[^"]+')" | tee -a $GITEA_ENV + run: echo "latest_version=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep -oP '\"tag_name\": \"\K[^\"]+')" | tee -a $GITEA_ENV - name: Download latest Hugo version if: env.current_version != env.latest_version