Skip to content

Initial CICD settings; add theme colors to DaisyUI #5

Initial CICD settings; add theme colors to DaisyUI

Initial CICD settings; add theme colors to DaisyUI #5

Workflow file for this run

name: Deploy PR to Preview
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on: pull_request
jobs:
deploy:
runs-on: ubuntu-latest
outputs:
url: ${{ steps.deploy-preview.outputs.url }}
steps:
- uses: actions/checkout@v3
- name: install Vercel CLI
run: npm install --global vercel@latest
- name: pull Vercel environment information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: build project artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: deploy preview
id: deploy-preview
run: |
du --inodes -d 5 .vercel/output
ls -l .vercel/output/functions
preview_url="$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})"
echo "url=$preview_url" >> $GITHUB_OUTPUT
echo "deployed to $preview_url"