Skip to content

feat(main): Add sitemap integration #141

feat(main): Add sitemap integration

feat(main): Add sitemap integration #141

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.VERCEL_TOKEN }}
TURBO_TEAM: ${{ secrets.VERCEL_TEAM }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/[email protected]
with:
version: 7.1.0
run_install: true
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'pnpm'
- name: Remove development API routes
run: rm -r apps/main/pages/api
- run: pnpm turbo run test
- run: pnpm turbo run prebuild
- run: pnpm build --filter @apps/main^...
- uses: amondnet/vercel-action@v25
with:
github-token: ${{ secrets.GH_TOKEN }}
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.ORG_ID }}
vercel-project-id: ${{ secrets.PROJECT_ID }}
vercel-args: '--prod'