refactor: split build/release responsibilities and remove dist tracking
Generate Rules / build (push) Successful in 32s
Generate Rules / build (push) Successful in 32s
This commit is contained in:
@@ -15,7 +15,7 @@ on:
|
||||
- .gitea/workflows/generate-rules.yml
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -60,16 +60,3 @@ jobs:
|
||||
else
|
||||
python3 main.py --config config.json
|
||||
fi
|
||||
|
||||
- name: Commit and push dist changes
|
||||
shell: bash
|
||||
run: |
|
||||
if [ -n "$(git status --porcelain dist)" ]; then
|
||||
git config user.name "gitea-actions[bot]"
|
||||
git config user.email "gitea-actions@localhost"
|
||||
git add dist
|
||||
git commit -m "chore: update generated rules"
|
||||
git push
|
||||
else
|
||||
echo "No changes in dist/"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user