Skip to content

Commit 3b2bf5e

Browse files
authored
feat : GH Pages fix
1 parent e0fa3b1 commit 3b2bf5e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/deploy-to-gh-pages.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
5252
# Optional: write CNAME from repo secret CUSTOM_DOMAIN (set if you use a custom domain)
5353
- name: Add CNAME (optional)
54-
if: secrets.CUSTOM_DOMAIN != ''
54+
if: ${{ secrets.CUSTOM_DOMAIN != '' }}
5555
run: echo "${{ secrets.CUSTOM_DOMAIN }}" > build/web/CNAME
5656

5757
- name: Deploy to GitHub Pages (gh-pages branch)
@@ -60,6 +60,3 @@ jobs:
6060
github_token: ${{ secrets.GITHUB_TOKEN }}
6161
publish_dir: build/web
6262
publish_branch: gh-pages
63-
# optional: commit message customization
64-
# commit_message: "ci: deploy to GitHub Pages (auto)"
65-

0 commit comments

Comments
 (0)