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
|
||||||
5
.github/workflows/gh-pages.yaml
vendored
5
.github/workflows/gh-pages.yaml
vendored
@@ -9,7 +9,7 @@ jobs:
|
|||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
if: "contains(github.event.head_commit.message, '[release]')"
|
# if: "contains(github.event.head_commit.message, '[release]')"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -32,4 +32,5 @@ jobs:
|
|||||||
REPO: self
|
REPO: self
|
||||||
BRANCH: gh-pages
|
BRANCH: gh-pages
|
||||||
FOLDER: release
|
FOLDER: release
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
CLEAR_GLOBS_FILE: ".gh-pages-clear-rules"
|
||||||
Reference in New Issue
Block a user