From 57a4451e1553f2db8ee723d9bcef8e318ed72ec0 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Tue, 21 Apr 2026 22:46:58 -0300 Subject: [PATCH] chore: add example environment file and update deployment workflows --- .env.example | 16 ++++++++++++++++ .github/workflows/deploy-preview.yml | 1 + .github/workflows/deploy.yml | 1 + .gitignore | 1 + 4 files changed, 19 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..aff04a9 --- /dev/null +++ b/.env.example @@ -0,0 +1,16 @@ +FRONTEND_PATH= +PROJECT_ORG_SLUG= + +SESSION_SECRET= + +DATABASE_URL= + +NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY= +CLERK_SECRET_KEY= + +S3_ENDPOINT= +S3_BUCKET_NAME= +S3_REGION= +S3_ACCESS_KEY= +S3_SECRET_KEY= +S3_PUBLIC_URL= diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 7db3928..c90bcd3 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -12,6 +12,7 @@ on: jobs: deploy: runs-on: ubuntu-latest + if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')" steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 52af94b..b259bb5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,6 +12,7 @@ on: jobs: deploy: runs-on: ubuntu-latest + if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')" steps: - uses: actions/checkout@v4 diff --git a/.gitignore b/.gitignore index 496eff9..b0fcdf2 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ yarn-error.log* # env files (can opt-in for committing if needed) .env* +!.env.example # vercel .vercel -- 2.49.1