Skip to content

finish initial development #1

finish initial development

finish initial development #1

Workflow file for this run

---
name: Build and deploy
permissions:
contents: read
pages: write
id-token: write
on:
push:
branches: main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Install, build, and upload your site
uses: withastro/action@v3
with:
node-version: 22
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: build
run: pnpm build
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4