Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,21 @@ on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- 'README.md'
- 'README_ZH.md'
- 'CHANGELOG.md'
- 'LICENSE'
- '.github/**'

pull_request:
branches:
- main
permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Checkout code
Expand Down Expand Up @@ -40,8 +47,8 @@ jobs:
branch: docs
folder: docs
token: ${{ secrets.GITHUB_TOKEN }}
repository-name: cc-heart-dev/utils
target-folder: ./
single-commit: true
dotfiles: true
clean: true
commit-message: 'docs: update documentation [skip ci]'
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ publish.sh
package-lock.json
yarn.lock

dist/*
dist/*
docs
1 change: 0 additions & 1 deletion docs/.nojekyll

This file was deleted.

99 changes: 0 additions & 99 deletions docs/assets/highlight.css

This file was deleted.

15 changes: 0 additions & 15 deletions docs/assets/icons.js

This file was deleted.

Loading
Loading