diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index cc87ea5..e33629d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -28,10 +28,17 @@ jobs: directus_host: ${{ steps.determine.outputs.directus_host }} project_name: ${{ steps.determine.outputs.project_name }} steps: - - name: ๐Ÿงน Maintenance (Runner Cleanup) + - name: ๐Ÿ” Debug Info run: | - docker image prune -f - docker builder prune -f --filter "until=24h" + echo "ref_name: ${{ github.ref_name }}" + echo "ref_type: ${{ github.ref_type }}" + echo "tag: ${{ github.ref_name }}" + + - name: ๐Ÿงน Maintenance (Runner Cleanup) + continue-on-error: true + run: | + docker image prune -f || true + docker builder prune -f --filter "until=24h" || true - name: Checkout repository uses: actions/checkout@v4 @@ -66,6 +73,7 @@ jobs: TARGET="skip" fi + echo "Target determined: $TARGET" echo "target=$TARGET" >> "$GITHUB_OUTPUT" echo "image_tag=$IMAGE_TAG" >> "$GITHUB_OUTPUT" echo "env_file=$ENV_FILE" >> "$GITHUB_OUTPUT"