mirror of
https://github.com/storytold/spark.git
synced 2026-10-21 08:06:45 +00:00
Fix build automation
This commit is contained in:
@@ -36,11 +36,11 @@ jobs:
|
|||||||
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||||
|
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
run: |
|
run:
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Bump dist build"
|
git commit -m "Bump dist build"
|
||||||
git push origin main
|
git push origin main
|
||||||
git rev-parse HEAD > dist/commit.txt
|
git rev-parse HEAD > dist/commit.txt
|
||||||
SHA=$(cat dist/commit.txt)
|
SHA=$(cat 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)"
|
git commit -m "Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@$SHA/dist/spark.module.js)"
|
||||||
|
|||||||
Reference in New Issue
Block a user