mirror of
https://github.com/storytold/spark.git
synced 2026-10-24 08:36:08 +00:00
Fix build workflow
This commit is contained in:
@@ -44,10 +44,9 @@ jobs:
|
|||||||
git commit -m "Bump dist build" || echo "No build changes"
|
git commit -m "Bump dist build" || echo "No build changes"
|
||||||
|
|
||||||
SHA=$(git rev-parse HEAD)
|
SHA=$(git rev-parse HEAD)
|
||||||
mkdir -p dist
|
|
||||||
echo "$SHA" > dist/commit.txt
|
echo "$SHA" > dist/commit.txt
|
||||||
|
|
||||||
git add dist/commit.txt
|
git add dist/commit.txt
|
||||||
git commit -m "Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@$SHA/dist/spark.module.js)" || echo "No SHA change"
|
git commit -m "Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@$SHA/dist/spark.module.js)"
|
||||||
|
|
||||||
git push origin HEAD:main
|
git push origin HEAD:main
|
||||||
Reference in New Issue
Block a user