-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c5224c
commit 918f205
Showing
56 changed files
with
829 additions
and
105 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
# Git ignore rules | ||
*.untracked | ||
*.untracked.* | ||
|
||
.vercel | ||
|
||
# Misc | ||
.DS_Store | ||
.eslintcache | ||
.env.local | ||
.env.*.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
firebase-debug.log | ||
ui-debug.log | ||
.pnpm-debug.log | ||
.husky | ||
tmp | ||
|
||
vitest.config.ts.timestamp-* | ||
tsup.config.bundled_* | ||
|
||
# Dependencies | ||
node_modules | ||
|
||
# Build dirs | ||
.next | ||
build | ||
dist | ||
|
||
# Generated files | ||
.docusaurus | ||
.cache-loader | ||
**.tsbuildinfo | ||
|
||
.xata* | ||
|
||
# VS | ||
/.vs/slnx.sqlite-journal | ||
/.vs/slnx.sqlite | ||
/.vs | ||
.vscode/generated* | ||
|
||
# Jetbrains | ||
.idea | ||
|
||
# GitHub Actions runner | ||
/actions-runner | ||
/_work | ||
|
||
# DB | ||
dev.db* | ||
packages/adapter-prisma/prisma/dev.db | ||
packages/adapter-prisma/prisma/migrations | ||
db.sqlite | ||
packages/adapter-supabase/supabase/.branches | ||
packages/adapter-drizzle/.drizzle | ||
|
||
# Tests | ||
coverage | ||
dynamodblocal-bin | ||
firestore-debug.log | ||
test.schema.gql | ||
test-results | ||
playwright-report | ||
blob-report | ||
playwright/.cache | ||
|
||
# Turborepo | ||
.turbo | ||
|
||
# docusaurus | ||
docs/.docusaurus | ||
docs/manifest.mjs | ||
|
||
# Core | ||
packages/core/src/providers/oauth-types.ts | ||
packages/core/lib | ||
packages/core/providers | ||
docs/docs/reference/core | ||
|
||
# Next.js | ||
docs/docs/reference/nextjs | ||
next-env.d.ts | ||
|
||
# SvelteKit | ||
packages/frameworks-sveltekit/index.* | ||
packages/frameworks-sveltekit/client.* | ||
packages/frameworks-sveltekit/.svelte-kit | ||
packages/frameworks-sveltekit/package | ||
packages/frameworks-sveltekit/vite.config.js.timestamp-* | ||
packages/frameworks-sveltekit/vite.config.ts.timestamp-* | ||
docs/docs/reference/sveltekit | ||
|
||
# SolidStart | ||
docs/docs/reference/solidstart | ||
|
||
# Express | ||
docs/docs/reference/express | ||
|
||
# Adapters | ||
docs/docs/reference/adapter | ||
|
||
## Drizzle migration folder | ||
.drizzle | ||
|
||
# Sentry Config File | ||
.sentryclirc | ||
|
||
# Python | ||
__pycache__/ | ||
.venv/ | ||
|
||
# Docker ignore rules | ||
.changeset | ||
.git | ||
.github | ||
.turbo | ||
**/.turbo | ||
.vscode | ||
|
||
.env | ||
.env.* | ||
**/.env | ||
**/.env.* | ||
**/.next | ||
|
||
**/dist | ||
|
||
examples | ||
|
||
node_modules | ||
**/node_modules | ||
|
||
deploy | ||
!deploy/docker/**/entrypoint.sh | ||
docker-compose.yaml |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Docker Build and Push | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
- docker-build | ||
tags: | ||
- "*.*.*" | ||
pull_request: | ||
|
||
jobs: | ||
build-server: | ||
name: Docker Build and Push Server | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Docker meta | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: ${{ secrets.DOCKER_REPO }}/server | ||
tags: | | ||
type=ref,event=branch | ||
type=sha,prefix= | ||
type=match,pattern=\d.\d.\d | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Set push condition | ||
id: push-condition | ||
run: | | ||
if [[ ${{ github.event_name == 'push' }} == 'true' ]]; then | ||
echo "should_push=true" >> $GITHUB_OUTPUT | ||
else | ||
echo "should_push=false" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Login to DockerHub | ||
if: steps.push-condition.outputs.should_push == 'true' | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USER }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v6 | ||
with: | ||
context: . | ||
file: ./docker/server/Dockerfile | ||
push: ${{ steps.push-condition.outputs.should_push }} | ||
tags: ${{ steps.meta.outputs.tags == 'main' && 'latest' || steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,6 +113,6 @@ docs/docs/reference/adapter | |
# Sentry Config File | ||
.sentryclirc | ||
|
||
# python | ||
# Python | ||
__pycache__/ | ||
.venv/ |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.