2 Commits

Author SHA1 Message Date
ee6b947f29 update
All checks were successful
Rust Cross-Platform Build / Detect Rust Project (push) Successful in 4s
Rust Cross-Platform Build / Set Tag Name (push) Successful in 5s
Rust Cross-Platform Build / Run Tests (push) Successful in 1m23s
Rust Cross-Platform Build / Build (x86_64-unknown-linux-gnu) (push) Successful in 2m54s
Rust Cross-Platform Build / Build (x86_64-pc-windows-gnu) (push) Successful in 3m35s
Rust Cross-Platform Build / Build and Push Docker Image (push) Successful in 2m4s
Rust Cross-Platform Build / Workflow Summary (push) Successful in 2s
Rust Cross-Platform Build / Create Tag (push) Successful in 4s
2025-10-03 12:22:12 +02:00
18dd1ef528 keine verdreckte doc 2025-10-02 00:38:23 +02:00
2 changed files with 1 additions and 25 deletions

View File

@@ -189,30 +189,6 @@ jobs:
path: | path: |
${{ needs.detect-project.outputs.project-dir }}/target/${{ matrix.target }}/release/${{ needs.detect-project.outputs.project-name }}${{ matrix.os == 'windows' && '.exe' || '' }} ${{ needs.detect-project.outputs.project-dir }}/target/${{ matrix.target }}/release/${{ needs.detect-project.outputs.project-name }}${{ matrix.os == 'windows' && '.exe' || '' }}
- name: Build documentation
working-directory: ${{ needs.detect-project.outputs.project-dir }}
run: |
cargo doc --no-deps --all-features
echo "Documentation built in: $PWD/target/doc"
ls -la target/doc/
- name: Prepare documentation for deployment
working-directory: ${{ needs.detect-project.outputs.project-dir }}
run: |
# Create a temporary directory for deployment
mkdir -p ../docs-deploy
cp -r target/doc/* ../docs-deploy/
# Create redirect index if needed
echo '<meta http-equiv="refresh" content="0; url=${{ needs.detect-project.outputs.project-name }}/index.html">' > ../docs-deploy/index.html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ../docs-deploy
publish_branch: gh-pages
force_orphan: true
docker-build: docker-build:
name: Build and Push Docker Image name: Build and Push Docker Image
needs: [detect-project, build, set-tag] needs: [detect-project, build, set-tag]

View File

@@ -56,7 +56,7 @@ pub async fn get_available_container(docker: &Docker) -> Vec<DockerContainer> {
}) })
.unwrap_or_else(|| "unknown".to_string()); .unwrap_or_else(|| "unknown".to_string());
println!(" - ID: {}, Image: {:?}, Name: {}", short_id, container.image, name); println!(" - ID: {}, Image: {}, Name: {}", short_id, container.image.unwrap(), name);
Some(DockerContainer { Some(DockerContainer {
ID: short_id.to_string(), ID: short_id.to_string(),