Skip to content

Commit afb3df4

Browse files
committed
Add continous crates deployments on tag push
1 parent 4feba42 commit afb3df4

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on:
2+
push:
3+
tags:
4+
- '*' # Push events to every tag not containing /
5+
workflow_dispatch:
6+
7+
name: Publish
8+
9+
jobs:
10+
publish:
11+
name: Publish
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout sources
15+
uses: actions/checkout@v4
16+
17+
- name: Install stable toolchain
18+
uses: dtolnay/rust-toolchain@stable
19+
20+
- run: cargo publish --token ${CRATES_TOKEN}
21+
env:
22+
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# rhoxy - Rust HTTP/HTTPS Proxy
2-
[![Tests](https://github.com/JoshCap20/rhoxy/actions/workflows/rust.yml/badge.svg)](https://github.com/JoshCap20/rhoxy/actions/workflows/rust.yml)
2+
[![Tests](https://github.com/JoshCap20/rhoxy/actions/workflows/test.yml/badge.svg)](https://github.com/JoshCap20/rhoxy/actions/workflows/test.yml)
33

44
Simple HTTP/HTTPS proxy in Rust (my inaugural rust project)
55

0 commit comments

Comments
 (0)