diff --git a/.gitea/workflows/cargo-publish.yaml b/.gitea/workflows/cargo-publish.yaml index 34e2167..20410db 100644 --- a/.gitea/workflows/cargo-publish.yaml +++ b/.gitea/workflows/cargo-publish.yaml @@ -29,8 +29,9 @@ jobs: - name: publish crates on git.cscherr.de uses: katyo/publish-crates@v2 with: - args: --registry cscherr --token="Bearer ${{ secrets.CARGO_REGISTRY_TOKEN_CSCHERRDE }}" - registry-token: "Bearer ${{ secrets.CARGO_REGISTRY_TOKEN_CSCHERRDE }}" + env: + - CSCHERR_CARGO_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 }}