Skip to content
Merged
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
49 changes: 30 additions & 19 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,46 @@
name: Deploy to vercel
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- uses: dkershner6/vercel-set-env-action@v3
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
token: ${{ secrets.VERCEL_TOKEN }}
projectName: builder-dashboard
envVariableKeys: COOKIE_SECRET,NEXT_PUBLIC_TURNSTILE_SITE_KEY,TURNSTILE_SECRET_KEY
env:
bun-version: latest

- env:
COOKIE_SECRET: ${{ secrets.COOKIE_SECRET }}
TARGET_COOKIE_SECRET: preview,development,production
TYPE_COOKIE_SECRET: encrypted
NEXT_PUBLIC_TURNSTILE_SITE_KEY: ${{ secrets.NEXT_PUBLIC_TURNSTILE_SITE_KEY }}
TARGET_COOKIE_SECRET: preview,development,production
TARGET_NEXT_PUBLIC_TURNSTILE_SITE_KEY: production
TYPE_NEXT_PUBLIC_TURNSTILE_SITE_KEY: plain
TURNSTILE_SECRET_KEY: ${{ secrets.TURNSTILE_SECRET_KEY }}
TARGET_TURNSTILE_SECRET_KEY: production
TURNSTILE_SECRET_KEY: ${{ secrets.TURNSTILE_SECRET_KEY }}
TYPE_COOKIE_SECRET: encrypted
TYPE_NEXT_PUBLIC_TURNSTILE_SITE_KEY: plain
TYPE_TURNSTILE_SECRET_KEY: encrypted
- uses: amondnet/vercel-action@v25
name: Set Environment Variables for Vercel
uses: dkershner6/vercel-set-env-action@v3
with:
envVariableKeys: COOKIE_SECRET,NEXT_PUBLIC_TURNSTILE_SITE_KEY,TURNSTILE_SECRET_KEY
projectName: builder-dashboard
token: ${{ secrets.VERCEL_TOKEN }}

- name: Deploy to Vercel
uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-args: '--prod'
vercel-org-id: ${{ secrets.ORG_ID }}
vercel-project-id: ${{ secrets.PROJECT_ID }}
vercel-project-name: builder-dashboard
vercel-token: ${{ secrets.VERCEL_TOKEN }}

name: Deploy to vercel

on:
push:
branches:
- main
workflow_dispatch:
9 changes: 8 additions & 1 deletion CachyOS Builder Dashboard.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,23 @@
"cSpell.words": [
"Cachy",
"cachyos",
"cmdk",
"headlessui",
"marsidev",
"nums",
"pkgbase",
"pkgname",
"QPKG",
"remixicon",
"rxdb",
"scrollback",
"sonner",
"tabler",
"toastify",
"Upsert",
"webgl"
"vercel",
"webgl",
"ZNVER"
]
}
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

Expand All @@ -18,7 +18,7 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

Expand All @@ -27,10 +27,10 @@ To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
Loading