fix cron-release.yml and disable push in commit-release.yml

This commit is contained in:
JMVoid 2020-09-27 01:30:15 +08:00
parent 0628801791
commit 65836d0be3
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
name: commit-release
on:
push:
branches: [ master ]
# push:
# branches: [ master ]
pull_request:
branches: [ master ]

View File

@ -56,7 +56,7 @@ jobs:
run: |
mkdir publish
cp -af dist/version publish/version
cp -af dist/china_ip_list.mmdb publish/Country.mmdb
cp -af dist/Country.mmdb publish/Country.mmdb
cd publish
git init
git config --local user.name "${{ github.actor }}"