mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 22:56:54 +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}"
|
||||
else
|
||||
git pull origin master
|
||||
fi
|
||||
git pull origin --tags
|
||||
git tag -d v3 || true
|
||||
git pull origin --tags
|
||||
fi
|
||||
|
||||
npm ci
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user