mirror of
https://github.com/C24Be/AS_Network_List.git
synced 2026-03-30 14:18:53 +03:00
big update
This commit is contained in:
6
.github/actions/gitReset/action.yaml
vendored
6
.github/actions/gitReset/action.yaml
vendored
@@ -8,9 +8,9 @@ runs:
|
||||
if [ -n "${{ env.CUSTOM_BRANCH }}" ]; then
|
||||
git reset --hard
|
||||
git clean -fdx
|
||||
git checkout "${daily_branch}"
|
||||
git pull origin "${daily_branch}"
|
||||
git push --set origin "${daily_branch}"
|
||||
git checkout "${daily_branch}" 2>/dev/null || git checkout -b "${daily_branch}"
|
||||
git pull origin "${daily_branch}" || true
|
||||
git push --set-upstream origin "${daily_branch}"
|
||||
fi
|
||||
git reset --hard
|
||||
git clean -fdx
|
||||
|
||||
Reference in New Issue
Block a user