Skip to content

Commit 4c53c30

Browse files
Update deploy.yml
1 parent fb855c7 commit 4c53c30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ jobs:
1919
docker stop copilot-bot || true
2020
docker rm copilot-bot || true
2121
22+
# Add the saved counting.json file as a volume to persist stored data
2223
- name: Run new Docker container
2324
run: |
2425
docker run -d --name copilot-bot \
2526
--restart unless-stopped \
27+
-v /home/firesteel/Bots/Copilot/counting.json:/app/counting.json \
2628
-e TOKEN=${{ secrets.TOKEN }} \
2729
-e GUILD_ID=${{ vars.GUILD_ID }} \
2830
copilot-bot-image:latest

0 commit comments

Comments
 (0)