Skip to content

Commit 365cb96

Browse files
committed
adapt deployment
1 parent d377a0b commit 365cb96

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
ssh-private-key: ${{ secrets.DISCORD_BOT_DEPLOY_KEY }}
3030

3131
- name: Deploy Discord Bot with ansible
32-
run: ansible-playbook -i ${{ secrets.DISCORD_BOT_SERVER_HOST }}, ansible/deploy-playbook.yml --private-key="/home/runner/.ssh/id_rsa" --user=root
32+
run: ansible-playbook -i ${{ secrets.DISCORD_BOT_SERVER_HOST }}, ansible/deploy-playbook.yml --user=root
3333
env:
3434
ANSIBLE_HOST_KEY_CHECKING: "false"

ansible/deploy-playbook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
- name: Deploy Discord Bot to the server
33
hosts: all
44
vars:
5-
repository_url: https://github.com/EuroPython/discord.git
5+
repository_url: https://github.com/pyladies/global-conference-discord.git
66

77
tasks:
88
- name: Enable persistent logging for journald
@@ -59,7 +59,7 @@
5959
force: yes
6060
accept_hostkey: yes
6161
single_branch: yes
62-
version: main
62+
version: "2025"
6363

6464
- name: Ensure 'bot' group exists
6565
group:

compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
EuroPythonBot:
3-
image: europythonbot
3+
image: pyladiescon
44
build:
55
context: .
66
env_file:
@@ -32,7 +32,7 @@ services:
3232
read_only: false
3333

3434
# read all container only logs with
35-
# journalctl -u docker IMAGE_NAME=europythonbot -f
35+
# journalctl -u docker IMAGE_NAME=pyladiescon -f
3636
logging:
3737
driver: journald
3838
restart: unless-stopped

0 commit comments

Comments
 (0)