diff --git a/.gitea/workflows/weather-alerts.yml b/.gitea/workflows/weather-alerts.yml index a661b18..72e1909 100644 --- a/.gitea/workflows/weather-alerts.yml +++ b/.gitea/workflows/weather-alerts.yml @@ -34,6 +34,6 @@ jobs: git config --global user.name "Gitea Actions" git config --global user.email "actions@gitea.local" git config --global --add safe.directory "$GITHUB_WORKSPACE" - git add data/state.json + git add -f data/state.json git diff --staged --quiet || git commit -m "chore: update weather alert state [skip ci]" git push