fix(ingress.tjo.cloud/dyndns): use fetch and reset
Some checks failed
/ lint (push) Failing after 38s
Some checks failed
/ lint (push) Failing after 38s
This commit is contained in:
parent
a7d7e7b6ff
commit
c8c15161fe
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ if [ ! -d .git ]; then
|
|||
git sparse-checkout set --no-cone /ingress.tjo.cloud
|
||||
git checkout
|
||||
else
|
||||
git pull --depth=1 --rebase
|
||||
git fetch --depth=1
|
||||
git reset --hard origin/main
|
||||
fi
|
||||
# Enter ingress directory
|
||||
cd /srv/ingress.tjo.cloud
|
||||
|
|
Loading…
Reference in a new issue