Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
ssh-private-key: ${{ secrets.DISCORD_BOT_DEPLOY_KEY }}

- name: Deploy EuroPythonBot with ansible
run: ansible-playbook -i ansible/inventory.ini ansible/deploy-playbook.yml --private-key="/home/runner/.ssh/id_rsa" --user=root
run: ansible-playbook -i ${{ secrets.DISCORD_BOT_SERVER_HOST }}, ansible/deploy-playbook.yml --private-key="/home/runner/.ssh/id_rsa" --user=root
env:
ANSIBLE_HOST_KEY_CHECKING: "false"
2 changes: 1 addition & 1 deletion ansible/deploy-playbook.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Deploy Discord Bot to the server
hosts: bot_server
hosts: all
vars:
repository_url: https://github.com/EuroPython/discord.git

Expand Down
2 changes: 0 additions & 2 deletions ansible/inventory.ini

This file was deleted.