We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd7d36d commit 5d7c835Copy full SHA for 5d7c835
1 file changed
.github/workflows/dump_stations.yaml
@@ -31,7 +31,8 @@ jobs:
31
# git add and commit the file
32
git config --global user.name 'github-actions'
33
git config --global user.email 'github-actions@github.com'
34
- git checkout stations-update
+ # create the branch if it doesn't exist locally or remotely
35
+ git checkout -B stations-update
36
git add ./stations.parquet
- git commit -m 'Update stations.parquet'
37
- git push origin HEAD:stations-update
+ git commit -m 'Update stations.parquet' || echo "No changes to commit"
38
+ git push origin stations-update
0 commit comments