From ef85c29f0b465a237f2d2ecc0780339fd345ca0e Mon Sep 17 00:00:00 2001 From: etienne Date: Wed, 14 Feb 2024 20:44:00 +0100 Subject: [PATCH] Add NEXT_PUBLIC_BASE_URL to inventory.ini --- .github/workflows/aws.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/aws.yml b/.github/workflows/aws.yml index f6f4b26..b9f03d2 100644 --- a/.github/workflows/aws.yml +++ b/.github/workflows/aws.yml @@ -56,6 +56,7 @@ 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: