add data folder
Some checks failed
Deploy Containers / Prepare (push) Failing after 10s

This commit is contained in:
2025-07-29 20:25:50 -04:00
parent c063f77b8f
commit 45c14dfe6c
2 changed files with 10 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ on:
jobs:
deploy:
name: Prepare
runs-on: jade:docker://node:16-bullseye
runs-on: jade
steps:
- name: Checkout Repo
uses: actions/checkout@v4

View File

@@ -1,4 +1,11 @@
---
- name: Create folder structure
file:
path: "{{ item }}"
state: directory
with_items:
- "{{ data_dir }}/gitea"
- name: Create Gitea Runner Docker Container
docker_container:
name: gitea_runner
@@ -6,6 +13,8 @@
restart_policy: unless-stopped
recreate: true
network_mode: host
volumes:
- "{{ data_dir }}/gitea:/data"
env:
GITEA_INSTANCE_URL: "{{ GITEA_INSTANCE_URL }}"
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ GITEA_RUNNER_REGISTRATION_TOKEN }}"