aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar Joseph Garrone <[email protected]>2024-02-13 02:36:56 +0100
committerGravatar Joseph Garrone <[email protected]>2024-02-13 02:36:56 +0100
commit4097f20e8cafc0c130231b6aea454bcafb229b3d (patch)
treef35b220411397ffb9b67dcbeb903b35883e2c534 /.github
parentBump version (diff)
Improve documentation
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 7fc87fe..a182218 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -98,7 +98,9 @@ jobs:
- uses: bahmutov/npm-install@v1
- run: yarn build
# We tell GitHub pages that our package.json["homepage"] field is our domain name.
- - run: echo $(node -e 'console.log(require("url").parse(require("./package.json").homepage).host)') > build/CNAME
+ # If you wish to use the default GitHub pages domain name, like https://<username>.github.io/<repo>,
+ # you'll have to use base: "/repo/" in your vite.config.ts.
+ - run: echo $(node -e 'console.log(require("url").parse(require("./package.json").homepage).host)') > dist/CNAME
- run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}