build(actions): update gh-pages to ignore deleting CNAME
This commit is contained in:
3
.gh-pages-clear-rules
Normal file
3
.gh-pages-clear-rules
Normal file
@@ -0,0 +1,3 @@
|
||||
**/*
|
||||
!.git
|
||||
!CNAME
|
||||
3
.github/workflows/gh-pages.yaml
vendored
3
.github/workflows/gh-pages.yaml
vendored
@@ -9,7 +9,7 @@ jobs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
if: "contains(github.event.head_commit.message, '[release]')"
|
||||
# if: "contains(github.event.head_commit.message, '[release]')"
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -33,3 +33,4 @@ jobs:
|
||||
BRANCH: gh-pages
|
||||
FOLDER: release
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CLEAR_GLOBS_FILE: ".gh-pages-clear-rules"
|
||||
Reference in New Issue
Block a user