mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-08-22 19:49:13 +08:00
Create check-dist.yml
This commit is contained in:
27
.github/workflows/check-dist.yml
vendored
Normal file
27
.github/workflows/check-dist.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
name: Update dist
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-dist:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: install
|
||||||
|
run: yarn
|
||||||
|
|
||||||
|
- name: package
|
||||||
|
run: yarn package
|
||||||
|
|
||||||
|
- name: Commit and push if changed
|
||||||
|
run: |-
|
||||||
|
git diff
|
||||||
|
git config --global user.email "xrkffgg@vip.qq.com"
|
||||||
|
git config --global user.name "xrkffgg"
|
||||||
|
git pull
|
||||||
|
git add -A
|
||||||
|
git commit -m "🤖 auto: updated dist" || exit 0
|
||||||
|
git push
|
Reference in New Issue
Block a user