diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml
index 3b89947..f61123a 100644
--- a/.github/workflows/image.yml
+++ b/.github/workflows/image.yml
@@ -3,6 +3,7 @@
name: Build Docker Image
on:
+ workflow_dispatch:
release:
types: [published]
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index f8b1b19..076672a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -52,3 +52,14 @@ jobs:
name: resfetch-${{ matrix.os }}
path: target/release/resfetch
retention-days: 90
+
+ publish:
+ needs: [build-win, build-unix]
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Publish using cargo
+ run: cargo publish --token ${{ secrets.CRATES_TOKEN }}
diff --git a/README.md b/README.md
index f3d2ac3..4110e95 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
[![Test Builds](https://github.com/hitblast/resfetch/actions/workflows/build.yml/badge.svg)](https://github.com/hitblast/resfetch/actions/workflows/build.yml)
[![Release Builds](https://github.com/hitblast/resfetch/actions/workflows/release.yml/badge.svg)](https://github.com/hitblast/resfetch/actions/workflows/release.yml)
-
+