Skip to content

Merge pull request #20 from CtpN3m01/main #14

Merge pull request #20 from CtpN3m01/main

Merge pull request #20 from CtpN3m01/main #14

Workflow file for this run

name: CD
on:
push:
branches: [ main ]
paths:
- 'paystell-frontend/**'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
working-directory: ./paystell-frontend
run: npm ci
- name: Build project
working-directory: ./paystell-frontend
run: npm run build
- name: Deploy to Vercel
uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
working-directory: ./paystell-frontend
vercel-args: '--prod'