Skip to content

Commit

Permalink
ci(deploy): add deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mcatta authored Oct 2, 2023
1 parent 0404988 commit d35582c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 22 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Shuttle Deploy

on:
push:
branches:
- "main"
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

deploy:
runs-on: ubuntu-latest
steps:
- uses: shuttle-hq/deploy-action@main
with:
deploy-key: ${{ secrets.SHUTTLE_DEPLOY_KEY }}
22 changes: 0 additions & 22 deletions .github/workflows/rust.yml

This file was deleted.

0 comments on commit d35582c

Please sign in to comment.