diff options
author | 2024-02-13 02:36:56 +0100 | |
---|---|---|
committer | 2024-02-13 02:36:56 +0100 | |
commit | 4097f20e8cafc0c130231b6aea454bcafb229b3d (patch) | |
tree | f35b220411397ffb9b67dcbeb903b35883e2c534 /.github | |
parent | Bump version (diff) |
Improve documentation
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yaml | 4 |
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 }} |