From 51e451be6c18e2cc123249f49edf8e26fc50311c Mon Sep 17 00:00:00 2001 From: fwcd Date: Thu, 14 Mar 2024 00:25:12 +0100 Subject: [PATCH] Fix generated `LANGUAGE_BASE_URL` --- .github/workflows/deploy-to-github.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-to-github.yml b/.github/workflows/deploy-to-github.yml index f16e337..9525e6a 100644 --- a/.github/workflows/deploy-to-github.yml +++ b/.github/workflows/deploy-to-github.yml @@ -59,7 +59,7 @@ jobs: tree gh-pages/assets echo "==> Updating version on website..." - sed -i "s|\(LANGUAGE_BASE_URL = \"\)[^\"]*\(\"\)|\1$tag\2|g" gh-pages/index.html + sed -i "s|\(LANGUAGE_BASE_URL = \"\)[^\"]*\(\"\)|\1assets/tree-sitter-kotlin-$tag\2|g" gh-pages/index.html sed -i "s|\(\)[^<]*\(\)|\1$tag\2|g" gh-pages/index.html echo "==> Committing and pushing gh-pages branch..."