File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 4242 if : ${{ steps.update.outputs.updated == '0' }}
4343 uses : EndBug/add-and-commit@v9
4444 with :
45- add : " *.db,*.txt,README.md"
45+ add : " *.db,*.txt,*.env, README.md"
4646 message : " update database"
4747 pull : " --autostash -s ours"
4848
@@ -51,16 +51,16 @@ jobs:
5151 if : ${{ steps.update.outputs.updated == '0' && steps.commit.outputs.committed == 'false' }}
5252 uses : EndBug/add-and-commit@v9
5353 with :
54- add : " *.db,*.txt,README.md"
54+ add : " *.db,*.txt,*.env, README.md"
5555 message : " update database"
5656 pull : " --rebase --autostash -s ours"
5757
5858 - name : Save database
59- if : ${{ steps.commit .outputs.committed == 'true' || steps.rebase.outputs.committed == 'true ' }}
59+ if : ${{ steps.update .outputs.updated == '0 ' }}
6060 uses : ncipollo/release-action@v1
6161 with :
6262 artifacts : " index.sql.zst,index.sql.d/*"
6363 bodyFile : " CHANGELOG.md"
6464 tag : " ${{ steps.date.outputs.date }}"
65- commit : " ${{ steps.commit.outputs.commit_long_sha }} "
65+ commit : " master "
6666 allowUpdates : true
Original file line number Diff line number Diff line change 4747 if : ${{ steps.update.outputs.updated == '0' }}
4848 uses : EndBug/add-and-commit@v9
4949 with :
50- add : " *.db,*.txt,README.md"
50+ add : " *.db,*.txt,*.env, README.md"
5151 message : " update database"
5252 pull : " --autostash -s ours"
5353
@@ -56,16 +56,16 @@ jobs:
5656 if : ${{ steps.update.outputs.updated == '0' && steps.commit.outputs.committed == 'false' }}
5757 uses : EndBug/add-and-commit@v9
5858 with :
59- add : " *.db,*.txt,README.md"
59+ add : " *.db,*.txt,*.env, README.md"
6060 message : " update database"
6161 pull : " --rebase --autostash -s ours"
6262
6363 - name : Save database
64- if : ${{ steps.commit .outputs.committed == 'true' || steps.rebase.outputs.committed == 'true ' }}
64+ if : ${{ steps.update .outputs.updated == '0 ' }}
6565 uses : ncipollo/release-action@v1
6666 with :
6767 artifacts : " index.sql.zst,index.sql.d/*"
6868 bodyFile : " CHANGELOG.md"
6969 tag : " ${{ steps.date.outputs.date }}"
70- commit : " ${{ steps.commit.outputs.commit_long_sha }} "
70+ commit : " master "
7171 allowUpdates : true
You can’t perform that action at this time.
0 commit comments