Skip to content

Commit

Permalink
init: ci config
Browse files Browse the repository at this point in the history
init: ci config
  • Loading branch information
GitHub-Stephen authored Jan 8, 2024
1 parent 1a2cac6 commit fa8bc75
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deplooy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
# checkout resource
- name: CheckOut
uses: actions/checkout@v3

# generate artifacts
- name: instal and build
run: |
pnpm docs:build
npm i pnpm -g
pnpm install --frozen-lockfile
- name: github-ci
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: .vitepress/dist
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

0 comments on commit fa8bc75

Please sign in to comment.