-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 933 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CI/CD
on:
push:
branches:
- main
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# - name: Setup nodejs
# uses: actions/setup-node@v3
# with:
# node-version: "18.x"
# - name: Install dependencies
# run: npm ci --prefix ./frontend
# - name: Build frontend
# run: npm run build --prefix ./frontend
# - name: Build backend
# run: cargo build --release
# working-directory: rs
# - name: Run tests
# run: cargo test
# working-directory: rs
- name: Deploy to shuttle
uses: shuttle-hq/deploy-action@main
with:
deploy-key: ${{ secrets.SHUTTLE_DEPLOY_KEY }}
# allow-dirty: true
# working-directory: rs
# name: pyme
# no-test: true