saleor-apps-redis_apl/.github/workflows/deploy-prod.yml
2023-01-29 22:13:52 +01:00

35 lines
765 B
YAML

name: Deployment
on:
workflow_dispatch:
inputs:
app_name:
type: choice
required: true
options:
- slack
description: What app to deploy
jobs:
prepare:
runs-on: ubuntu-latests
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.1
with:
version: 6.19.1
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Check linters
run: pnpm build
deploy:
needs: [prepare]
environment: Prod
runs-on: ubuntu-latests
name: Deploy
steps:
- name: Deploy to Vecel
run: echo "TODO $TOKEN"