Skip to content
This repository was archived by the owner on Jun 26, 2025. It is now read-only.

Commit 8e0d35c

Browse files
committed
update folder stuff
1 parent 25c6518 commit 8e0d35c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
- main
55
workflow_dispatch:
66

7+
name: Deploy to Server
78
jobs:
89
deploy:
910
runs-on: ubuntu-latest

deploy/ansible-deploy.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@
4747
tag: latest
4848
force_source: true
4949
force_absent: true
50-
50+
51+
- name: Create Database Directory
52+
ansible.builtin.file:
53+
path: /opt/progsoc/progcomp2025/database
54+
state: directory
55+
mode: '0755'
5156

5257
- name: Recreate FuzzJudge Container
5358
community.docker.docker_container:
@@ -60,6 +65,8 @@
6065
- "2025:1989"
6166
env:
6267
COMPETITION_PATH: /app/competition
68+
DATABASE_URL: /app/database/fuzzjudge.db
6369
volumes:
6470
- /opt/progsoc/progcomp2025/competition:/app/competition
71+
- /opt/progsoc/progcomp2025/database:/app/database
6572
detach: true

0 commit comments

Comments
 (0)