forked from kongying-tavern/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
55 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# 文件名建议统一为 preview-publish | ||
# 应用 preview.yml 的 demo | ||
|
||
# name: PREVIEW_PUBLISH | ||
|
||
# on: | ||
# workflow_run: | ||
# workflows: ["MAIN_PULL_REQUEST"] | ||
# types: | ||
# - completed | ||
|
||
# jobs: | ||
# call-preview: | ||
# uses: kongying-tavern/docs/.github/workflows/preview.yml@next | ||
# secrets: | ||
# SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# 文件名建议统一为 pull-request.yml | ||
# 应用 test-build.yml 的 demo | ||
# 要求 package.json 提供 site:preview,base 应为 '/' | ||
|
||
# name: MAIN_PULL_REQUEST | ||
|
||
# on: | ||
# pull_request: | ||
# branches: [develop, main] | ||
# types: [opened, synchronize, reopened] | ||
|
||
# jobs: | ||
# call-test-build: | ||
# uses: kongying-tavern/docs/.github/workflows/test-build.yml@next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Compressed Size | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
|
||
jobs: | ||
compressed-size: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- uses: 94dreamer/compressed-size-action@master | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
pattern: "./dist/**/*.{js,css}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters