Skip to content

Commit

Permalink
添加jekyll配置
Browse files Browse the repository at this point in the history
  • Loading branch information
fayeah committed Aug 10, 2024
1 parent 3fce677 commit f230312
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: pnpm Example Workflow
on:
push:
branches: [ feat/xf-0810]

permissions:
contents: read
pages: write
id-token: write

jobs:
build:
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload dist repository
path: ./dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit f230312

Please sign in to comment.