Skip to content

New CD Workflows

New CD Workflows #7

Workflow file for this run

name: Site Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
nextjs-build:
name: Next.js Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
docker-build:
needs: nextjs-build
name: Docker Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Docker Image
run: docker build .