Skip to content

Commit

Permalink
[#457] Add VPN addresses as environment variables for Basic Auth bypass
Browse files Browse the repository at this point in the history
Add environment variables for the two VPN addresses that are allowed to
bypass Basic Auth on dev, test, and staging environments. This change
is essential for enabling specific IP addresses to avoid Basic Auth
verification when accessing certain domains.

Changes:
- Modified the ".github/workflows/build-and-deploy.yml" file to include
  two new environment variables, `IP_ADDRESS_BYPASSING_BASIC_AUTH1` and
  `IP_ADDRESS_BYPASSING_BASIC_AUTH2`, containing the VPN addresses
  permitted to skip Basic Auth verification.
  • Loading branch information
placek committed Mar 19, 2024
1 parent 59adf03 commit dc2df5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/resync-cardano-node-and-db-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
GTM_ID: ${{ secrets.GTM_ID }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN_FRONTEND }}
PIPELINE_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
IP_ADDRESS_BYPASSING_BASIC_AUTH1: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH1 }}
IP_ADDRESS_BYPASSING_BASIC_AUTH2: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH2 }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down

0 comments on commit dc2df5f

Please sign in to comment.