Skip to content

update astro major version #1322

update astro major version

update astro major version #1322

Workflow file for this run

name: Check and deploy
on:
- push
- pull_request
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run lint
working-directory: ./packages/web
deploy:
runs-on: ubuntu-latest
needs: check
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run build
working-directory: ./packages/web
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: pages deploy packages/web/dist --project-name=${{ secrets.CF_PROJECT_NAME }} --branch=main