disable cd for now

This commit is contained in:
Christoph J. Scherr 2024-01-17 11:25:57 +01:00
parent 819becd741
commit 9910c36dfc
Signed by: cscherrNT
GPG key ID: 8E2B45BC51A27EA7

View file

@ -4,29 +4,28 @@ on:
branches: branches:
- master - master
jobs: #jobs:
format: # format:
name: cargo CD # name: cargo CI
steps: # permissions:
- run: | # # Give the default GITHUB_TOKEN write permission to commit and push the
echo Registry Token: ${{ secrets.CARGO_PUBLISH_CSCHERR }} # # added or changed files to the repository.
- name: get repo # contents: write
uses: actions/checkout@v4 # steps:
- name: install rust # - name: get repo
uses: dtolnay/rust-toolchain@stable # uses: actions/checkout@v4
- name: config custom registry # - name: install rust
run: | # uses: dtolnay/rust-toolchain@stable
mkdir -p ~/.cargo/ # - name: config custom registry
echo -e '[registry] # run: |
cscherr= "cscherr" # mkdir -p ~/.cargo/
# echo -e '[registry]
[registries.cscherr] # cscherr= "cscherr"
index = "sparse+https://git.cscherr.de/api/packages/PlexSheep/cargo/" #
token = "${{ secrets.CARGO_PUBLISH_CSCHERR }}" # [registries.cscherr]
' > ~/.cargo/config.toml # index = "sparse+https://git.cscherr.de/api/packages/PlexSheep/cargo/"
cat ~/.cargo/config.toml # ' > ~/.cargo/config.toml
echo Registry Token: ${{ secrets.CARGO_PUBLISH_CSCHERR }} # cat ~/.cargo/config.toml
- name: publish crates on git.cscherr.de # - name: publish crates on git.cscherr.de
uses: katyo/publish-crates@v2 # run: |
with: # cargo workspaces publish --registry cscherr
args: --registry cscherr