diff --git a/.gitea/workflows/deploy-dev.yml b/.gitea/workflows/deploy-dev.yml new file mode 100644 index 0000000..a28923f --- /dev/null +++ b/.gitea/workflows/deploy-dev.yml @@ -0,0 +1,17 @@ +name: Deploy to Development + +on: + push: + branches: + - dev + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Trigger Coolify Deploy (Dev) + run: | + curl --request GET \ + --url "${{ secrets.COOLIFY_WEBHOOK_DEV }}" \ + --header "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}" \ + --fail \ No newline at end of file diff --git a/.gitea/workflows/deploy-prod.yml b/.gitea/workflows/deploy-prod.yml new file mode 100644 index 0000000..5b5cea3 --- /dev/null +++ b/.gitea/workflows/deploy-prod.yml @@ -0,0 +1,17 @@ +name: Deploy to Production + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Trigger Coolify Deploy (Prod) + run: | + curl --request GET \ + --url "${{ secrets.COOLIFY_WEBHOOK_PROD }}" \ + --header "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}" \ + --fail \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..39de971 --- /dev/null +++ b/.gitignore @@ -0,0 +1,38 @@ +# dependencies (bun install) +node_modules + +# output +out +dist +*.tgz + +# code coverage +coverage +*.lcov + +# logs +logs +_.log +report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json + +# dotenv environment variable files +.env +.env.* +.env.development.local +.env.test.local +.env.production.local +.env.local + +# drizzle +drizzle/meta/ + +# caches +.eslintcache +.cache +*.tsbuildinfo + +# IntelliJ based IDEs +.idea + +# Finder (MacOS) folder config +.DS_Store diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..d0183df --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,44 @@ +Default to using Bun instead of Node.js. + +- Use `bun ` instead of `node ` or `ts-node ` +- Use `bun test` instead of `jest` or `vitest` +- Use `bun build ` instead of `webpack` or `esbuild` +- Use `bun install` instead of `npm install` or `yarn install` or `pnpm install` +- Use `bun run