Skip to content

Commit 5d7c835

Browse files
committed
CI update
1 parent fd7d36d commit 5d7c835

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/dump_stations.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
# git add and commit the file
3232
git config --global user.name 'github-actions'
3333
git config --global user.email 'github-actions@github.com'
34-
git checkout stations-update
34+
# create the branch if it doesn't exist locally or remotely
35+
git checkout -B stations-update
3536
git add ./stations.parquet
36-
git commit -m 'Update stations.parquet'
37-
git push origin HEAD:stations-update
37+
git commit -m 'Update stations.parquet' || echo "No changes to commit"
38+
git push origin stations-update

0 commit comments

Comments
 (0)