svgl/.github/workflows/deploy-app.yml
pheralb 10ed96ae7b
Some checks failed
🛠️ Check / Testing with Vitest (push) Has been cancelled
🛠️ Check / SVGs Size (push) Has been cancelled
🚀 Deploy APP / build (20) (push) Has been cancelled
⚙️ Update env variables for deploy app workflow
2024-09-28 19:00:46 +01:00

39 lines
776 B
YAML

name: 🚀 Deploy APP
on:
push:
branches:
- next
jobs:
build:
runs-on: self-hosted
strategy:
matrix:
node-version: [20]
env:
SVGL_API_REQUESTS: ${{ secrets.SVGL_API_REQUESTS }}
UPSTASH_REDIS_URL: ${{ secrets.UPSTASH_REDIS_URL }}
UPSTASH_REDIS_TOKEN: ${{ secrets.UPSTASH_REDIS_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build