Skip to content

Commit

Permalink
ci(shuttle): deployment pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
robertohuertasm committed Jun 25, 2023
1 parent 855d767 commit dca613a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/shuttle.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Shuttle deploy

on:
release:
types: [published]
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: deployment
uses: shuttle-hq/deploy-action@main
with:
deploy-key: ${{ secrets.SHUTTLE_DEPLOY_KEY }}
2 changes: 1 addition & 1 deletion api/lib/src/health.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use actix_web::{
HttpResponse,
};

pub const API_VERSION: &str = "v0.0.1";
pub const API_VERSION: &str = "v0.0.2";

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

0 comments on commit dca613a

Please sign in to comment.