Skip to content

Commit

Permalink
chore: set log level=debug
Browse files Browse the repository at this point in the history
  • Loading branch information
3mcd committed Mar 4, 2025
1 parent 285a3f3 commit 761bc68
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}

deploy-preview:
permissions: write-all
permissions:
contents: read
deployments: write
pull-requests: write
statuses: write
runs-on: ubuntu-latest
timeout-minutes: 30
needs:
Expand Down Expand Up @@ -71,13 +75,13 @@ jobs:
with:
label: preview
admins: 3mcd
cidrs: "0.0.0.0/0"
compose_files: ./self-host/docker-compose.yml,docker-compose.preview.yml
default_port: 443
instance_type: small
ports: 443,9001
ports: 80,443,9001
registries: docker://AWS:${{steps.ecrtoken.outputs.value}}@246372085946.dkr.ecr.us-east-1.amazonaws.com
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ env.AWS_REGION }}
PULLPREVIEW_LOGGER_LEVEL: DEBUG
1 change: 1 addition & 0 deletions docker-compose.preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ services:
ASSETS_UPLOAD_SECRET_KEY: preview-different123
ASSETS_STORAGE_ENDPOINT: https://${PULLPREVIEW_PUBLIC_DNS}/assets
minio-init:
restart: on-failure
environment:
MINIO_ROOT_USER: preview
MINIO_ROOT_PASSWORD: preview123
Expand Down

0 comments on commit 761bc68

Please sign in to comment.