Skip to content

Commit

Permalink
update: cutome deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Koooooo-7 committed Dec 3, 2023
1 parent 1dccf4f commit 0607b5c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy Github Page

on:
push:
branches:
- 'main'
- 'pr-2316'

jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Build Lib
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
#if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs

0 comments on commit 0607b5c

Please sign in to comment.