Compare commits

...

2 Commits

Author SHA1 Message Date
Sudhanshu Pandey
c62a4a5121 Update ecs-deployment.yml 2024-01-31 15:38:01 -05:00
Sudhanshu Pandey
0a78848612 fix: ECS deployment Github Action (#1988) 2024-01-31 19:39:40 +00:00

View File

@@ -9,16 +9,17 @@ on:
push:
branches:
- main
workflow_dispatch: # Add manual trigger support
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}/formbricks-experimental
IMAGE_NAME: formbricks-experimental
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/formbricks?schema=public"
jobs:
build:
if: github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main' && github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: read