Skip to content

Commit

Permalink
Merge pull request #423 from andywang425/dev
Browse files Browse the repository at this point in the history
workflow test
  • Loading branch information
andywang425 authored Aug 5, 2023
2 parents 3588cd4 + f56d250 commit b1598ab
Show file tree
Hide file tree
Showing 4 changed files with 3,858 additions and 10 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,13 @@ jobs:
- name: Build
run: npm run build

- name: Temporarily remove 'dist' from .gitignore
- name: Remove 'dist' from .gitignore
run: sed -i '/dist/d' .gitignore

- name: Commit and push if there are changes
run: |
git config --local user.email "action@github.com"
git config --local user.email "actions@users.noreply.github.com"
git config --local user.name "GitHub Action"
git add dist/*
git diff --quiet && git diff --staged --quiet || git commit -m "Automated build"
git push
- name: Restore .gitignore
run: echo "dist" >> .gitignore
42 changes: 42 additions & 0 deletions dist/bilibili-live-tasks-helper.min.user.js

Large diffs are not rendered by default.

Loading

0 comments on commit b1598ab

Please sign in to comment.