diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e66da734ce84dedf7544a73bbef7d4c6279d7779..f821422534f277116f390f3b3fe1eb9351730efa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ build: image: node:14 script: - npm install - - CI=false npm run build + - CI=false npm run export artifacts: expire_in: 1 week paths: @@ -38,8 +38,8 @@ editorconfig: script: - apt-get update && apt-get install -y lftp ca-certificates - lftp -e "set dns:order 'inet inet6'; - mirror -R out/ public/ ; quit" - -u $FTP_USER,$FTP_PASS $FTP_HOST + mirror -R out/ public/ ; quit" + -u $FTP_USER,$FTP_PASS $FTP_HOST except: - tags diff --git a/package.json b/package.json index ebce5401c060bc03fe6b553ebff9fb659a846364..c75583b6b3a69d67a49faf36f128e552f48fafcf 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "lint:eslint": "eslint --ext .js,.ts,.tsx --ignore-path ./.gitignore ./", "lint:prettier": "prettier --check --ignore-path ./.gitignore ./", "lint:typescript": "tsc", - "start": "next start" + "start": "next start", + "export": "next build && next export" }, "husky": { "hooks": {