Skip to content

chore(gitignore): ignore agent/editor local state and Copilot scaffol… #2

chore(gitignore): ignore agent/editor local state and Copilot scaffol…

chore(gitignore): ignore agent/editor local state and Copilot scaffol… #2

Workflow file for this run

name: web-deploy
on:
push:
branches: [main]
paths:
- 'apps/web/**'
- '.github/workflows/web-deploy.yml'
workflow_dispatch:
concurrency:
group: web-deploy-${{ github.ref }}
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
environment: production
permissions:
contents: read
deployments: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.15.9
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm --filter @kostech/web build
env:
NUXT_PUBLIC_SITE_URL: https://kostech.md
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy apps/web/dist --project-name=kostech-web --branch=main