mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-16 07:03:13 +08:00
fix: tag fetching
This commit is contained in:
parent
6fe5c9e762
commit
6595e02d68
@ -41,9 +41,9 @@ if [ "${CURRENT_BRANCH}" != "master" ]; then
|
|||||||
git pull origin "${CURRENT_BRANCH}"
|
git pull origin "${CURRENT_BRANCH}"
|
||||||
else
|
else
|
||||||
git pull origin master
|
git pull origin master
|
||||||
|
git tag -d v3 || true
|
||||||
|
git pull origin --tags
|
||||||
fi
|
fi
|
||||||
git pull origin --tags
|
|
||||||
git tag -d v3 || true
|
|
||||||
|
|
||||||
npm ci
|
npm ci
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user