Fix build workflow

This commit is contained in:
Diego Marcos Segura
2025-06-25 18:27:08 -07:00
parent d07073063b
commit ca589f3c67
+1 -5
View File
@@ -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)"