feat: initial production release #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Type-check & Build | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm ci | |
| # Fail fast on TypeScript errors before spending time on a full build | |
| - name: Type-check | |
| run: npx tsc --noEmit | |
| # Build requires env vars — inject dummy values so Next.js doesn't crash | |
| - name: Build | |
| run: npm run build | |
| env: | |
| NEXT_PUBLIC_SITE_NAME: CloudForgeOps | |
| NEXT_PUBLIC_SITE_URL: https://cloudforgeops.com | |
| NEXT_PUBLIC_SITE_TAGLINE: "Freelance DevOps & Cloud Consulting" | |
| NEXT_PUBLIC_SITE_DESCRIPTION: "Production-grade cloud infrastructure, Kubernetes, and CI/CD — built by a senior DevOps engineer." | |
| NEXT_PUBLIC_SITE_OG_IMAGE: /og-image.png | |
| NEXT_PUBLIC_CONTACT_EMAIL: contact@cloudforgeops.com | |
| NEXT_PUBLIC_SOCIAL_GITHUB: https://github.com/cloudforgeops | |
| NEXT_PUBLIC_SOCIAL_LINKEDIN: https://linkedin.com/in/deepaksagar | |
| NEXT_PUBLIC_OWNER_NAME: Deepak Sagar | |
| NEXT_PUBLIC_OWNER_TITLE: "Freelance DevOps & Cloud Engineer" | |
| NEXT_PUBLIC_OWNER_EXPERIENCE: "3+" | |
| NEXT_PUBLIC_OWNER_EXPERIENCE_LABEL: "years of production DevOps experience" | |
| NEXT_PUBLIC_OWNER_BIO: "Senior DevOps engineer specialising in AWS, Kubernetes, Terraform, and CI/CD automation." | |
| NEXT_PUBLIC_OWNER_LINKEDIN: https://linkedin.com/in/deepaksagar | |
| NEXT_PUBLIC_FREE_REVIEW_HREF: /free-review | |
| NEXT_PUBLIC_FREE_REVIEW_DURATION: "30 min" | |
| NEXT_PUBLIC_CALENDLY_URL: https://calendly.com/deepaksagar/30min |