Skip to content

fix: minor things + release concept #26

fix: minor things + release concept

fix: minor things + release concept #26

Workflow file for this run

name: GitHub Actions Vercel Production Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches:
- main
jobs:
deploy-production:
runs-on: ubuntu-latest
steps:
- name: 🧺 checkout
uses: actions/checkout@v3
- name: 🐱 use .nvmrc
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: 📌 npm install
run: npm ci --prefer-offline --no-audit
- name: 🔧 build
run: npm run build
- name: 〽️ pull vercel environment information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: 🔧 build project artifacts
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: 🐕 deploy project artifacts to vercel
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}