Skip to content

Shuttle Deploy

Shuttle Deploy #10

name: Shuttle Deploy
on:
workflow_dispatch:
# Manual
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18.16'
- name: Install dependencies
run: npm install --prefix ./app/
- name: Build project
run: npm run build --prefix ./app/
- name: Deploy to Shuttle
uses: shuttle-hq/deploy-action@main
with:
deploy-key: ${{ secrets.SHUTTLE_API_KEY }}
secrets: JWT_SECRET = '${{ secrets.JWT_SECRET }}'