From ca589f3c672a46ad5b732603bee06c19da4cc2bb Mon Sep 17 00:00:00 2001 From: Diego Marcos Segura Date: Wed, 25 Jun 2025 18:27:08 -0700 Subject: [PATCH] Fix build workflow --- .github/workflows/build-dist.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build-dist.yml b/.github/workflows/build-dist.yml index 5be2bb1..d94f3f4 100644 --- a/.github/workflows/build-dist.yml +++ b/.github/workflows/build-dist.yml @@ -21,13 +21,9 @@ jobs: - name: Install dependencies run: npm install - - name: Install mkdocs - run: pip install mkdocs-material - - name: Build Dist run: npm run build - - name: Generate GitHub App token id: generate-token uses: tibdex/github-app-token@v2 @@ -41,6 +37,6 @@ jobs: git commit -m "Bump dist build" git push origin main git rev-parse HEAD > dist/commit.txt - SHA=$(cat dist/commit.txt) + SHA=$(git rev-parse HEAD) git add dist/commit.txt git commit -m "Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@$SHA/dist/spark.module.js)"