Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 59b60a7

Browse files
committed
fix(deploy): server dir packer error
1 parent d60c07e commit 59b60a7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

deploy/production/packer.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ fi
1414
mkdir "${PACKER_TMP_DIR}"
1515

1616
echo "[Step 2/${TOTAL_STEPS}] cp files to ${PACKER_TMP_DIR} ..."
17-
cp -rf src config public utils .babelrc server.js package.json package-lock.json next.config.js "${PACKER_TMP_DIR}"
18-
cp tsconfig.json "${PACKER_TMP_DIR}"
19-
cp i18n.js "${PACKER_TMP_DIR}"
17+
cp -rf src server config public utils "${PACKER_TMP_DIR}"
18+
cp tsconfig.json .babelrc package.json package-lock.json next.config.js i18n.js "${PACKER_TMP_DIR}"
2019
cp Makefile Makefile.include.mk "${PACKER_TMP_DIR}"
2120

2221
echo "[Step 3/${TOTAL_STEPS}] creating ${ARCHIVE_NAME} ..."

0 commit comments

Comments
 (0)