We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21aced8 commit 25ed85dCopy full SHA for 25ed85d
Makefile
@@ -33,6 +33,10 @@ include-yarn-deps:
33
cp node_modules/bootstrap/dist/js/bootstrap.min.js $(VENDOR_DIR)
34
cp node_modules/anchor-js/anchor.min.js $(VENDOR_DIR)
35
36
+update-hub:
37
+ git submodule update --remote _hub
38
+ cp _hub/images/* assets/images
39
+
40
build: install include-yarn-deps
41
$(JEKYLL) build --config _config.yml
42
scripts/deploy-site.sh
@@ -29,12 +29,8 @@ else
29
git checkout --orphan master
30
fi
31
32
-# Update submodule pytorch/hub to the latest master branch
-# Then copy over images to assets/images
-git submodule update --remote _hub
-cp _hub/images/* assets/images
-
cd "../"
+make update-hub
make build_deploy
cd master-branch
0 commit comments