Skip to content

Commit b5150d5

Browse files
committed
Merge branch 'feature/old-version' of https://github.com/rasenga223/api-documentation-generator into feature/old-version
2 parents 3b9f220 + 21fbeca commit b5150d5

3 files changed

Lines changed: 43 additions & 1 deletion

File tree

.github/workflows/preview.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Vercel Preview Deployment
2+
env:
3+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
4+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
5+
on:
6+
push:
7+
branches-ignore:
8+
- main
9+
jobs:
10+
Deploy-Preview:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Install Vercel CLI
15+
run: npm install --global vercel@latest
16+
- name: Pull Vercel Environment Information
17+
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
18+
- name: Build Project Artifacts
19+
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
20+
- name: Deploy Project Artifacts to Vercel
21+
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}

.github/workflows/production.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Vercel Production Deployment
2+
env:
3+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
4+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
5+
on:
6+
push:
7+
branches:
8+
- main
9+
jobs:
10+
Deploy-Production:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Install Vercel CLI
15+
run: npm install --global vercel@latest
16+
- name: Pull Vercel Environment Information
17+
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
18+
- name: Build Project Artifacts
19+
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
20+
- name: Deploy Project Artifacts to Vercel
21+
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const dmSans = DM_Sans({
1515
});
1616

1717
export const metadata: Metadata = {
18-
title: "Clario | API Documentation Generator",
18+
title: "Clariodocs | API Documentation Generator",
1919
description:
2020
"Transform your API spec into a clean, branded, shareable documentation site instantly",
2121
openGraph: {

0 commit comments

Comments
 (0)