Skip to content

Commit

Permalink
Update and rename rust-cd.yml to rust-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ImaMapleTree authored May 28, 2024
1 parent a8a5ca5 commit 0583d3b
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
name: Rust CD
name: Rust Publish

on:
release:
types: [published]

env:
CARGO_TERM_COLOR: always
CARGO_REGISTRY_TOKEN: ${{ secrets.DERIVE_CTOR_API_KEY }}

jobs:
build:

deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Login
run: cargo login
run: cargo login ${{ secrets.DERIVE_CTOR_API_KEY }}
- name: Deploy
run: cargo publish

0 comments on commit 0583d3b

Please sign in to comment.