Skip to content

Commit dca613a

Browse files
ci(shuttle): deployment pipeline
1 parent 855d767 commit dca613a

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/shuttle.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Shuttle deploy
2+
3+
on:
4+
release:
5+
types: [published]
6+
workflow_dispatch:
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: deployment
13+
uses: shuttle-hq/deploy-action@main
14+
with:
15+
deploy-key: ${{ secrets.SHUTTLE_DEPLOY_KEY }}

api/lib/src/health.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use actix_web::{
33
HttpResponse,
44
};
55

6-
pub const API_VERSION: &str = "v0.0.1";
6+
pub const API_VERSION: &str = "v0.0.2";
77

88
pub fn service(cfg: &mut ServiceConfig) {
99
cfg.route("/health", web::get().to(health_check));

0 commit comments

Comments
 (0)