diff --git a/.github/workflows/release-website.yml b/.github/workflows/release-website.yml new file mode 100644 index 0000000..67b795b --- /dev/null +++ b/.github/workflows/release-website.yml @@ -0,0 +1,33 @@ +on: + push: + branches: + - main + - release-website +permissions: + contents: read + pages: write + id-token: write + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + - uses: oven-sh/setup-bun@v1 + - name: Install + run: bun install + - name: Build + run: | + bun run build + cp dist/index.html dist/404.html + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + path: "dist" + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 diff --git a/autocorrect-website/src/welcome.tsx b/autocorrect-website/src/welcome.tsx index 6fc8bfb..8cba83e 100644 --- a/autocorrect-website/src/welcome.tsx +++ b/autocorrect-website/src/welcome.tsx @@ -106,7 +106,7 @@ export const Welcome = () => { -
+

A linter and formatter for help you improve copywriting, to correct spaces, punctuations between CJK (Chinese, Japanese, Korean).