diff --git a/.github/workflows/nextjs.yml b/.github/workflows/deploy.yml similarity index 74% rename from .github/workflows/nextjs.yml rename to .github/workflows/deploy.yml index 84b0391..15183f3 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/deploy.yml @@ -1,10 +1,8 @@ -# Sample workflow for building and deploying a Next.js site to GitHub Pages - -name: Deploy Next.js site to Pages - +name: Deploy Next JS Application 🚀 +# Next Production Workflow for deploy app to github page on: push: - branches: ["master"] # Make sure this is your default branch + branches: ["master"] workflow_dispatch: permissions: @@ -26,13 +24,13 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "20" # Use the Node.js version that matches your project + node-version: "20" cache: 'npm' - name: Install dependencies run: npm ci - - name: Build Next.js site + - name: Build Next.js App run: npm run build - name: Upload artifact for deployment