change workflow (#41)
Reviewed-on: #41 Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com> Co-authored-by: tischrei <tino.schreiber@t-systems.com> Co-committed-by: tischrei <tino.schreiber@t-systems.com>
This commit is contained in:
@ -52,10 +52,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global user.name "gitea-actions[bot]"
|
git config --global user.name "gitea-actions[bot]"
|
||||||
git config --global user.email "actions@users.noreply.local"
|
git config --global user.email "actions@users.noreply.local"
|
||||||
|
git checkout -B analytics-update
|
||||||
git add analytics/
|
git add analytics/
|
||||||
if git diff --cached --quiet; then
|
if git diff --cached --quiet; then
|
||||||
echo "No changes to commit"
|
echo "No changes to commit"
|
||||||
else
|
else
|
||||||
git commit -m "chore: update analytics data [skip ci]"
|
git commit -m "chore: update analytics data [skip ci]"
|
||||||
git push
|
git push origin analytics-update --force
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user