Skip to content

Feat/mobile legal settings font overhaul #61

Feat/mobile legal settings font overhaul

Feat/mobile legal settings font overhaul #61

Workflow file for this run

name: Deploy to Netlify
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
deploy-preview:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.10.0
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- name: Build shared package
run: cd packages/shared && pnpm build
- name: Build web app
run: cd apps/web && pnpm build
env:
NEXT_PUBLIC_TMDB_API_KEY: ${{ secrets.TMDB_API_KEY }}
- name: Deploy to Netlify Preview
uses: nwtgck/actions-netlify@v3.0
with:
publish-dir: './apps/web/.next'
production-branch: main
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from PR #${{ github.event.number }}"
enable-pull-request-comment: true
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
overwrite: true
timeout-minutes: 10
deploy-production:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.10.0
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- name: Build shared package
run: cd packages/shared && pnpm build
- name: Build web app
run: cd apps/web && pnpm build
env:
NEXT_PUBLIC_TMDB_API_KEY: ${{ secrets.TMDB_API_KEY }}
- name: Deploy to Netlify Production
uses: nwtgck/actions-netlify@v3.0
with:
publish-dir: './apps/web/.next'
production-branch: main
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from commit ${{ github.sha }}"
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 10