Skip to content

Commit 62f30a6

Browse files
committed
Revert "update hub upon build_deploy"
This reverts commit 25ed85d.
1 parent 9f705dc commit 62f30a6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ include-yarn-deps:
3333
cp node_modules/bootstrap/dist/js/bootstrap.min.js $(VENDOR_DIR)
3434
cp node_modules/anchor-js/anchor.min.js $(VENDOR_DIR)
3535

36-
update-hub:
37-
git submodule update --remote _hub
38-
cp _hub/images/* assets/images
39-
4036
build: install include-yarn-deps
4137
$(JEKYLL) build --config _config.yml
4238

scripts/deploy-site.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ else
2929
git checkout --orphan master
3030
fi
3131

32+
# Update submodule pytorch/hub to the latest master branch
33+
# Then copy over images to assets/images
34+
git submodule update --remote _hub
35+
cp _hub/images/* assets/images
36+
3237
cd "../"
33-
make update-hub
3438
make build_deploy
3539
cd master-branch
3640

0 commit comments

Comments
 (0)