From f7d88ab52d5266bae6dc4cb7cd04dade07b33ee6 Mon Sep 17 00:00:00 2001 From: etienne Date: Wed, 14 Feb 2024 20:50:05 +0100 Subject: [PATCH] Update NEXT_PUBLIC_BASE_URL in playbook.yml --- .github/workflows/aws.yml | 1 - playbook.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/aws.yml b/.github/workflows/aws.yml index b9f03d2..f6f4b26 100644 --- a/.github/workflows/aws.yml +++ b/.github/workflows/aws.yml @@ -56,7 +56,6 @@ jobs: python3 -m pip install docker ansible-galaxy collection install community.docker echo "[all]" > inventory.ini - echo ${{ secrets.NEXT_PUBLIC_BASE_URL }} echo "my_instance ansible_host=${{secrets.ip_address}} ansible_user=hibo ansible_ssh_private_key_file=./private_key" >> inventory.ini ansible-playbook -i inventory.ini playbook.yml --extra-vars "MONGO_INITDB_ROOT_USERNAME=${{ secrets.MONGO_INITDB_ROOT_USERNAME }} MONGO_INITDB_ROOT_PASSWORD=${{ secrets.MONGO_INITDB_ROOT_PASSWORD }} MONGO_INITDB_DATABASE=${{ secrets.MONGO_INITDB_DATABASE }} MONGODB_USER=${{ secrets.MONGODB_USER }} MONGODB_USER_PASSWORD=${{ secrets.MONGODB_USER_PASSWORD }} SITE_ADDRESS=${{secrets.ip_address}} ORIGIN_URL=${{ secrets.ORIGIN_URL }} NEXT_PUBLIC_BASE_URL=${{ secrets.NEXT_PUBLIC_BASE_URL }} PORT=${{ secrets.PORT }} DEBUG=${{ secrets.DEBUG }} JWT_SECRET=${{ secrets.JWT_SECRET }}" env: diff --git a/playbook.yml b/playbook.yml index d780e0b..0fe17f3 100644 --- a/playbook.yml +++ b/playbook.yml @@ -123,7 +123,7 @@ MONGODB_USER={{ MONGODB_USER }} MONGODB_USER_PASSWORD={{ MONGODB_USER_PASSWORD }} SITE_ADDRESS={{ SITE_ADDRESS }} - NEXT_PUBLIC_BASE_URL=http://{{ SITE_ADDRESS }}:{{ PORT }}/ + NEXT_PUBLIC_BASE_URL={{ NEXT_PUBLIC_BASE_URL }} PORT={{ PORT }} DEBUG={{ DEBUG }} ORIGIN_URL={{ ORIGIN_URL }}