Skip to content

✨ 将英文设为默认语言 #6

✨ 将英文设为默认语言

✨ 将英文设为默认语言 #6

Workflow file for this run

name: 部署
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun generate
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: .output/public
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- id: deployment
uses: actions/deploy-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}