ci: fix nginx config check cp path, add R2_ENDPOINT to .env.example
CI / Nginx config check (push) Failing after 11s
CI / Docker compose check (push) Successful in 11s
CI / Env docs check (push) Successful in 12s
CI / Frontend deps check (push) Failing after 24s
CI / Knip (push) Has been skipped
CI / Frontend a11y check (push) Has been skipped
CI / Secrets scan (push) Successful in 38s
CI / Go build (push) Successful in 39s
CI / go mod tidy (push) Successful in 21s
CI / Frontend build (push) Successful in 1m25s
CI / Svelte strict check (push) Has been skipped
CI / Frontend QC (audit) (push) Has been skipped
CI / Frontend QC (typecheck) (push) Has been skipped
CI / Frontend QC (lint) (push) Has been skipped
CI / Go vulnerabilities (push) Successful in 1m38s
CI / Go vet (push) Successful in 1m40s
CI / Staticcheck (push) Failing after 2m19s
CI / golangci-lint (push) Successful in 2m30s
CI / Security scan (gosec) (push) Failing after 2m51s
CI / Tests (prod) (push) Has been skipped
CI / Tests (dev) (push) Has been skipped
CI / Race (prod) (push) Has been skipped
CI / Race (dev) (push) Has been skipped
CI / Nginx config check (push) Failing after 11s
CI / Docker compose check (push) Successful in 11s
CI / Env docs check (push) Successful in 12s
CI / Frontend deps check (push) Failing after 24s
CI / Knip (push) Has been skipped
CI / Frontend a11y check (push) Has been skipped
CI / Secrets scan (push) Successful in 38s
CI / Go build (push) Successful in 39s
CI / go mod tidy (push) Successful in 21s
CI / Frontend build (push) Successful in 1m25s
CI / Svelte strict check (push) Has been skipped
CI / Frontend QC (audit) (push) Has been skipped
CI / Frontend QC (typecheck) (push) Has been skipped
CI / Frontend QC (lint) (push) Has been skipped
CI / Go vulnerabilities (push) Successful in 1m38s
CI / Go vet (push) Successful in 1m40s
CI / Staticcheck (push) Failing after 2m19s
CI / golangci-lint (push) Successful in 2m30s
CI / Security scan (gosec) (push) Failing after 2m51s
CI / Tests (prod) (push) Has been skipped
CI / Tests (dev) (push) Has been skipped
CI / Race (prod) (push) Has been skipped
CI / Race (dev) (push) Has been skipped
- nginx-check: cp needs trailing filename when copying to a directory - .env.example: uncomment R2_ENDPOINT as an active variable so the env-docs-check script detects it as documented
This commit is contained in:
+2
-3
@@ -23,13 +23,12 @@ S3_BUCKET=crussell
|
|||||||
S3_PROFILE_PICS_BUCKET=crussell-profile-pics
|
S3_PROFILE_PICS_BUCKET=crussell-profile-pics
|
||||||
AWS_REGION=eu-west-2
|
AWS_REGION=eu-west-2
|
||||||
|
|
||||||
# Prod: Uncomment and fill these for R2
|
# Prod: Set R2_ENDPOINT for Cloudflare R2 (overrides S3_* vars in non-dev builds)
|
||||||
# R2_ENDPOINT=https://<account-id>.r2.cloudflarestorage.com
|
R2_ENDPOINT=
|
||||||
# R2_ACCESS_KEY=<your-access-key>
|
# R2_ACCESS_KEY=<your-access-key>
|
||||||
# R2_SECRET_KEY=<your-secret-key>
|
# R2_SECRET_KEY=<your-secret-key>
|
||||||
# R2_BUCKET=crussell
|
# R2_BUCKET=crussell
|
||||||
# R2_PUBLIC_URL=https://pub-<your-domain>.r2.dev
|
# R2_PUBLIC_URL=https://pub-<your-domain>.r2.dev
|
||||||
# AWS_REGION=auto
|
|
||||||
|
|
||||||
# Square Payment Gateway
|
# Square Payment Gateway
|
||||||
SQUARE_ACCESS_TOKEN=
|
SQUARE_ACCESS_TOKEN=
|
||||||
|
|||||||
@@ -771,5 +771,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Validate nginx config
|
- name: Validate nginx config
|
||||||
run: |
|
run: |
|
||||||
cp $(pwd)/nginx/conf.d/default.conf /etc/nginx/conf.d/
|
cp $(pwd)/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
|
||||||
nginx -t
|
nginx -t
|
||||||
|
|||||||
Reference in New Issue
Block a user