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

Commit 296edfe

Browse files
committed
fix(build): missing services dir when packing
1 parent eb5bdf6 commit 296edfe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deploy/dev/packer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ mkdir "${PACKER_TMP_DIR}"
1515

1616
echo "[Step 2/${TOTAL_STEPS}] cp files to ${PACKER_TMP_DIR} ..."
1717
# cp -rf pages lang containers components stores config static utils next.config.js .babelrc "${PACKER_TMP_DIR}"
18-
cp -rf pages lang containers components stores config static utils .babelrc next.config.js next-seo.config.js server.js "${PACKER_TMP_DIR}"
18+
cp -rf pages lang containers components services stores config static utils .babelrc next.config.js next-seo.config.js server.js "${PACKER_TMP_DIR}"
1919
cp Makefile Makefile.include.mk "${PACKER_TMP_DIR}"
2020
cp package-docker.json "${PACKER_TMP_DIR}/package.json"
2121
# cp package.json "${PACKER_TMP_DIR}/package.json"

deploy/production/packer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ mkdir "${PACKER_TMP_DIR}"
1515

1616
echo "[Step 2/${TOTAL_STEPS}] cp files to ${PACKER_TMP_DIR} ..."
1717
# cp -rf pages lang containers components stores config static utils next.config.js .babelrc "${PACKER_TMP_DIR}"
18-
cp -rf pages lang containers components stores config static utils .babelrc next.config.js next-seo.config.js server.js "${PACKER_TMP_DIR}"
18+
cp -rf pages lang containers components services stores config static utils .babelrc next.config.js next-seo.config.js server.js "${PACKER_TMP_DIR}"
1919
cp Makefile Makefile.include.mk "${PACKER_TMP_DIR}"
2020
cp package-docker.json "${PACKER_TMP_DIR}/package.json"
2121

0 commit comments

Comments
 (0)