mirror of
https://github.com/storytold/spark.git
synced 2026-10-09 00:09:53 +00:00
Fix build workflow
This commit is contained in:
@@ -6,7 +6,7 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
build-dist:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -32,9 +32,13 @@ jobs:
|
||||
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||
|
||||
- name: Commit and push changes
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add .
|
||||
git commit -m "Bump dist build"
|
||||
git commit -m "Bump dist build" || echo "No build changes"
|
||||
git push origin main
|
||||
git rev-parse HEAD > dist/commit.txt
|
||||
SHA=$(git rev-parse HEAD)
|
||||
|
||||
Reference in New Issue
Block a user