fix small git bug in new test release workflow

This commit is contained in:
kjeld Schouten-Lebbing 2021-05-05 17:58:28 +02:00
parent bd6c03183e
commit 45a2c157af
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
1 changed files with 2 additions and 4 deletions

View File

@ -27,10 +27,6 @@ jobs:
repository: truecharts/catalog
token: ${{ secrets.BOT_TOKEN }}
path: catalog
- name: Configure Git
run: |
git config user.name "TrueCharts-Bot"
git config user.email "bot@truecharts.org"
- name: Remove if release already exists
run: |
for chart in master/test/*; do
@ -58,6 +54,8 @@ jobs:
done
- name: Commit and Push new App releases
run: |
git config user.name "TrueCharts-Bot"
git config user.email "bot@truecharts.org"
cd catalog
git add --all
git commit -sm "Commit new App releases for TrueCharts" || exit 0