Skip to content

Commit

Permalink
Add action for Shuttle deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
williamlsh authored Nov 29, 2023
1 parent 3e1e5c2 commit a7daa24
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/shuttle.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Shuttle Deploy

on:
push:
tags:
- "*-?v[0-9]+*"
branches:
- "shuttle-deploy" # For testing purpose on this branch.
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: extractions/setup-just@v1
- name: Checkout code
uses: actions/checkout@v3
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Install wasm-pack
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- uses: rui314/setup-mold@v1
- name: Cache build artifacts
uses: Swatinem/rust-cache@v2
- name: Build peer
run: just peer
- uses: shuttle-hq/deploy-action@main
with:
deploy-key: ${{ secrets.SHUTTLE_DEPLOY_KEY }}
allow-dirty: "true"
1 change: 1 addition & 0 deletions Shuttle.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name = "meeting"

0 comments on commit a7daa24

Please sign in to comment.