From f3b438275b79825eff9d415afdc1a308c2617cb3 Mon Sep 17 00:00:00 2001 From: Ihor Khomiak Date: Thu, 6 Jun 2024 15:20:27 +0200 Subject: [PATCH] GH Actions: add custom Deployment action --- .github/workflows/deploy.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 88811e2..0dcdfd2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -47,7 +47,7 @@ jobs: uses: ./.github/actions/cached-deps - name: Build project - run: npm run build + run: npm run build && npm run export - name: Upload artifacts uses: actions/upload-artifact@v4 diff --git a/package.json b/package.json index 81458a5..991db9e 100755 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "scripts": { "dev": "next dev", "build": "next build", + "export": "next export", "start": "next start", "lint": "eslint --ext .js,.jsx,.ts,.tsx .", "lint-next": "next lint",