diff --git a/.gitea/workflows/cargo-publish.yaml b/.gitea/workflows/cargo-publish.yaml index 0380d71..44c62bd 100644 --- a/.gitea/workflows/cargo-publish.yaml +++ b/.gitea/workflows/cargo-publish.yaml @@ -14,9 +14,17 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable + - run: | + mkdir -p ~/.cargo/ + echo -e '[registry] + cscherr= "cscherr" + + [registries.cscherr] + index = "sparse+https://git.cscherr.de/api/packages/PlexSheep/cargo/" + ' > ~/.cargo/config.toml - uses: katyo/publish-crates@v2 with: - args: --index "https://git.cscherr.de/PlexSheep/_cargo-index.git" + args: --registry cscherr registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN_CRATESIO }} # - uses: katyo/publish-crates@v2 # with: