Skip to content

Commit 714ad50

Browse files
committed
Add .nojekyll file and update CNAME path in deploy-docs.yml
1 parent a5a26d1 commit 714ad50

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,16 @@ jobs:
3030
cd docs
3131
npm run build
3232
33+
- name: Add .nojekyll file
34+
run: touch docs/out/.nojekyll
35+
3336
- name: Create CNAME file
34-
run: echo "ch-ui.caioricciuti.com" > docs/build/CNAME
37+
run: echo "ch-ui.caioricciuti.com" > docs/out/CNAME
3538

3639
- name: Deploy to GitHub Pages
3740
uses: peaceiris/actions-gh-pages@v3
3841
with:
3942
github_token: ${{ secrets.GITHUB_TOKEN }}
40-
publish_dir: ./docs/build
43+
publish_dir: ./docs/out
4144
user_name: "github-actions[bot]"
42-
user_email: "github-actions[bot]@users.noreply.github.com"
45+
user_email: "github-actions[bot]@users.noreply.github.com"

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ on:
77

88
jobs:
99
release:
10-
# Add this condition to check for "no-release" in the commit message
11-
if: "!contains(github.event.head_commit.message, 'no-release')"
1210
runs-on: ubuntu-latest
11+
if: ${{ !contains(github.event.head_commit.message, 'no-release') }}
1312
permissions:
1413
contents: write # Allow pushing the tag
1514
steps:

0 commit comments

Comments
 (0)