Skip to content

Commit a2df09f

Browse files
author
Gitlab-CI
committed
fix(ci): reset HEAD before switching tag on documentation deployment
1 parent 7af916f commit a2df09f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
- 'lts/*'
7272
script:
7373
- git fetch --tags
74+
- git reset HEAD --hard
7475
- git checkout refs/tags/$(git describe --tags `git rev-list --tags --max-count=1`)
7576
- npm install
7677
- chmod +x styleguide/prepare.sh

0 commit comments

Comments
 (0)