fix: reservation-driver data parsing #120
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Vercel Production Deployment | |
| on: | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: deploy-prod | |
| cancel-in-progress: true | |
| jobs: | |
| Deploy-Production: | |
| runs-on: ubuntu-latest | |
| env: | |
| SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: "1.3.11" | |
| - 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: Deploy to Netlify | |
| id: netlify_deploy | |
| run: | | |
| bunx netlify deploy \ | |
| --dir out \ | |
| --no-build \ | |
| --prod \ | |
| --site ${{ secrets.NETLIFY_SITE_ID }} \ | |
| --auth ${{ secrets.NETLIFY_AUTH_TOKEN }} |