Skip to content

Commit

Permalink
Update NEXT_PUBLIC_BASE_URL in playbook.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne committed Feb 14, 2024
1 parent ef85c29 commit f7d88ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit f7d88ab

Please sign in to comment.