Skip to content

Commit

Permalink
fix deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyCraftix committed Apr 21, 2024
1 parent 7084f98 commit 49aac01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_to_gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
run: |
echo '${{ secrets.GOOGLE_CREDENTIALS }}' > ../google_credentials.json
echo 'ansible-node-inventory:' && cat ansible-node-inventory
ansible-playbook -i ansible-node-inventory --key-file "../deploy-state/id_ed25519" ansible-playbook.yml --user user --extra-vars
ansible-playbook -i ansible-node-inventory --key-file "../deploy-state/id_ed25519" ansible-playbook.yml --user user
rm ../google_credentials.json
env:
ANSIBLE_HOST_KEY_CHECKING: false
Expand Down
2 changes: 1 addition & 1 deletion server-systemd-service-template.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ After=network.target
User=root
Type=simple
Environment="GOOGLE_APPLICATION_CREDENTIALS=/etc/translate-webserver/google_credentials.json"
Environment="REDIS_CONNECTION={{ redis_host }}"
Environment="REDIS_CONNECTION=redis://{{ redis_host }}:6379"
ExecStart=/usr/local/bin/translate-webserver

[Install]
Expand Down

0 comments on commit 49aac01

Please sign in to comment.