From 22c619f18921e500d35716d7a31d991a881ea413 Mon Sep 17 00:00:00 2001 From: Saurabh Shrihar Date: Fri, 5 Apr 2024 10:38:41 +0400 Subject: [PATCH] Build on staging to test --- .github/workflows/deployment.yml | 4 +++- nginx.conf | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 8eb9082..6d31035 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -3,6 +3,7 @@ on: push: branches: - master + - DEVOPS-2599-cors-issue-update workflow_dispatch: inputs: environment: @@ -17,5 +18,6 @@ jobs: deploy: uses: ./.github/workflows/build_and_deploy.yml with: - environment: ${{ inputs.environment || 'dev' }} + environment: staging + # environment: ${{ inputs.environment || 'dev' }} secrets: inherit diff --git a/nginx.conf b/nginx.conf index 7fa36e6..a44fbc8 100644 --- a/nginx.conf +++ b/nginx.conf @@ -16,7 +16,6 @@ http { server { listen 80; - server_name localhost; location / { root /usr/share/nginx/html;