diff --git a/.gitea/workflows/deploy-server.yaml b/.gitea/workflows/deploy-server.yaml index 551fd49..79104f3 100644 --- a/.gitea/workflows/deploy-server.yaml +++ b/.gitea/workflows/deploy-server.yaml @@ -9,11 +9,14 @@ on: paths: - "cars/**" # Only run if archives in cars/ change -env: - GIT_DEFAULT_HASH: sha1 - jobs: prepare-server-content: + container: + volumes: + - $HOME/assetto-corsa/assetto/content:/content + env: + GIT_DEFAULT_HASH: sha1 + runs-on: ubuntu-latest steps: diff --git a/process.sh b/process.sh index 6d505d9..c28c5b1 100644 --- a/process.sh +++ b/process.sh @@ -25,9 +25,6 @@ find "$SOURCE_ROOT" -type f \( -name "*.zip" -o -name "*.7z" -o -name "*.rar" \) # Extract contents 7z x "$archive" -o"$temp_dir" -y > /dev/null - echo "Extracted to: $temp_dir" - tree "$temp_dir" # DEBUG - # FILTERING LOGIC find "$temp_dir/$car_name" -type f \ -not -path "**/skins/*/livery.png" \