diff --git a/.github/workflows/website-ci.yml b/.github/workflows/website-ci.yml new file mode 100644 index 0000000..7753d65 --- /dev/null +++ b/.github/workflows/website-ci.yml @@ -0,0 +1,22 @@ +name: Website CI + +on: + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + build: + name: Build website + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + with: + node-version-file: .node-version + package-manager-cache: false + - run: npm exec --yes --package=yarn@1.22.22 -c 'yarn install --frozen-lockfile --non-interactive --production=false && yarn build' \ No newline at end of file diff --git a/.node-version b/.node-version index 85aee5a..cabf43b 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -v20 \ No newline at end of file +24 \ No newline at end of file diff --git a/static/_redirects b/static/_redirects new file mode 100644 index 0000000..d1bccb7 --- /dev/null +++ b/static/_redirects @@ -0,0 +1,15 @@ +/install/win /docs/install/win/ 308 +/install/win/ /docs/install/win/ 308 +/install/mac /docs/install/mac/ 308 +/install/mac/ /docs/install/mac/ 308 +/install/linux /docs/install/linux/ 308 +/install/linux/ /docs/install/linux/ 308 +/docs /docs/get-started/ 308 +/docs/ /docs/get-started/ 308 +/legacy/uninstall /docs/migration/uninstalling_legacy/ 307 +/legacy/uninstall/ /docs/migration/uninstalling_legacy/ 307 +/migration /docs/migration/overview/ 307 +/migration/ /docs/migration/overview/ 307 +/docs/next /docs/ 308 +/docs/next/ /docs/ 308 +/docs/next/* /docs/:splat 308 \ No newline at end of file