Skip to content

chore(skills): add conventional commit and finito commit skills #86

chore(skills): add conventional commit and finito commit skills

chore(skills): add conventional commit and finito commit skills #86

Workflow file for this run

name: Vercel Production Deployment
on:
push:
branches:
- main
jobs:
Deploy-Production:
runs-on: ubuntu-latest
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Use Bun
uses: oven-sh/setup-bun@v2
- name: Install
run: bun install --frozen-lockfile
- name: Declare some variables
run: |
echo "NEXT_PUBLIC_GIT_COMMIT=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
- name: Build
run: bun run build
# - name: Pull Vercel Environment Information
# run: bun vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
#
# - name: Build Project Artifacts
# run: bun vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
#
# - name: Deploy Project Artifacts to Vercel
# run: bun vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Install Netlify
run: bun add --dev netlify-cli@23.2.1
- name: Deploy to Netlify
id: netlify_deploy
run: |
bun run netlify deploy \
--dir out \
--no-build \
--prod \
--site ${{ secrets.NETLIFY_SITE_ID }} \
--auth ${{ secrets.NETLIFY_AUTH_TOKEN }}