forked from GitHubMirrors/silverbullet-icalendar
Automate committing compiled plug back to repo
Some checks failed
Build SilverBullet Plug / build (push) Failing after 14s
Some checks failed
Build SilverBullet Plug / build (push) Failing after 14s
This commit is contained in:
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
@@ -22,6 +22,18 @@ jobs:
|
||||
- name: Build Plug
|
||||
run: deno task build
|
||||
|
||||
- name: Commit and push changes
|
||||
run: |
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git add icalendar.plug.js
|
||||
if git diff --quiet && git diff --staged --quiet; then
|
||||
echo "No changes to commit"
|
||||
else
|
||||
git commit -m "Build and update icalendar.plug.js [skip ci]"
|
||||
git push
|
||||
fi
|
||||
|
||||
- name: Upload Build Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user