mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(): update docs deploy scripts
This commit is contained in:
@@ -23,6 +23,7 @@ function run {
|
||||
DATE=$(date +"%Y-%m-%d")
|
||||
|
||||
cd $SITE_DIR
|
||||
npm install
|
||||
|
||||
$(replaceInFile "_config.yml" "latest_download:.*$" "latest_download: http:\/\/code.ionicframework.com\/$VERSION\/ionic-v$VERSION.zip")
|
||||
$(replaceInFile "_config.yml" "latest_version:.*$" "latest_version: $VERSION \"$CODENAME\"")
|
||||
|
||||
@@ -26,6 +26,7 @@ function run {
|
||||
node_modules/.bin/gulp docs-index --dist=$SITE_DIR
|
||||
|
||||
cd $SITE_DIR
|
||||
npm install
|
||||
|
||||
CHANGES=$(git status --porcelain)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user