Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example branch ci cd #115

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/build.yml → .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build on PR
name: Build Succeeds on PR

on:
pull_request:
Expand All @@ -7,6 +7,7 @@ on:

jobs:
build:
name: Build the project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -22,4 +23,4 @@ jobs:
run: npm run db:generate

- name: Run Build
run: npm run build
run: npm run build
Empty file added .github/workflows/deploy.yaml
Empty file.
42 changes: 0 additions & 42 deletions .github/workflows/deploy.yml

This file was deleted.

3 changes: 3 additions & 0 deletions apps/user-app/app/api/user/route.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@



import { getServerSession } from "next-auth"
import { NextResponse } from "next/server";
import { authOptions } from "../../lib/auth";
Expand Down