diff --git a/.github/workflows/update_primary_nginx.yml b/.github/workflows/update_primary_nginx.yml index ca82e10..62e510d 100644 --- a/.github/workflows/update_primary_nginx.yml +++ b/.github/workflows/update_primary_nginx.yml @@ -20,8 +20,9 @@ jobs: export-variables: true keys-case: bypass - - name: Check environment variables - run: env + - name: Replace environment variables in Nginx config + run: | + envsubst < nginx.conf.template > nginx.conf # Copying nginx configuration file to the server - name: Deploy nginx configuration file