diff --git a/.gitea/workflows/cargo-publish.yaml b/.gitea/workflows/cargo-publish.yaml index 34e2167..d4edb9a 100644 --- a/.gitea/workflows/cargo-publish.yaml +++ b/.gitea/workflows/cargo-publish.yaml @@ -28,9 +28,10 @@ jobs: cat ~/.cargo/config.toml - name: publish crates on git.cscherr.de uses: katyo/publish-crates@v2 + env: + - CSCHERR_CARGO_TOKEN: "Bearer ${{ secrets.CARGO_REGISTRY_TOKEN_CSCHERRDE }}" with: - args: --registry cscherr --token="Bearer ${{ secrets.CARGO_REGISTRY_TOKEN_CSCHERRDE }}" - registry-token: "Bearer ${{ secrets.CARGO_REGISTRY_TOKEN_CSCHERRDE }}" + args: --registry cscherr --token=$CSCHERR_CARGO_TOKEN #- uses: katyo/publish-crates@v2 # with: # args: --token ${{ secrets.CARGO_REGISTRY_TOKEN_CRATESIO }}