From bed0087875f0bd856e0536e9b3d9948b8dcbad8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Placzy=C5=84ski?= Date: Fri, 12 Jul 2024 12:04:16 +0200 Subject: [PATCH] Adjust NGINX configuration for authentication to enable resync action In order to facilitate the execution of the resync action in various environments (development, testing, and staging), the NGINX authentication configuration has been updated. Previously, authentication was controlled using a single `NGINX_BASIC_AUTH` secret. This has now been expanded to include separate authentication secrets for development (`DEV_NGINX_BASIC_AUTH`), testing (`TEST_NGINX_BASIC_AUTH`), and staging (`STAGING_NGINX_BASIC_AUTH`), allowing more granular control and enhanced security in different stages of deployment. --- .github/workflows/resync-cardano-node-and-db-sync.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/resync-cardano-node-and-db-sync.yml b/.github/workflows/resync-cardano-node-and-db-sync.yml index 445b53bd5..1cb7c567d 100644 --- a/.github/workflows/resync-cardano-node-and-db-sync.yml +++ b/.github/workflows/resync-cardano-node-and-db-sync.yml @@ -32,7 +32,9 @@ jobs: GRAFANA_ADMIN_PASSWORD: ${{ secrets.GRAFANA_ADMIN_PASSWORD }} GRAFANA_SLACK_RECIPIENT: ${{ secrets.GRAFANA_SLACK_RECIPIENT }} GRAFANA_SLACK_OAUTH_TOKEN: ${{ secrets.GRAFANA_SLACK_OAUTH_TOKEN }} - NGINX_BASIC_AUTH: ${{ secrets.NGINX_BASIC_AUTH }} + DEV_NGINX_BASIC_AUTH: ${{ secrets.DEV_NGINX_BASIC_AUTH }} + TEST_NGINX_BASIC_AUTH: ${{ secrets.TEST_NGINX_BASIC_AUTH }} + STAGING_NGINX_BASIC_AUTH: ${{ secrets.STAGING_NGINX_BASIC_AUTH }} SENTRY_DSN_BACKEND: ${{ secrets.SENTRY_DSN_BACKEND }} TRAEFIK_LE_EMAIL: "admin+govtool@binarapps.com" GTM_ID: ${{ secrets.GTM_ID }}