📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Revert Github pages deployment
Blue Mousecd710abf1b14
diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.ymldeleted file mode 100644index 29560ea30..000000000--- a/.github/workflows/deploy-docs.yml+++ /dev/null@@ -1,64 +0,0 @@-name: Deploy Docs to GitHub Pages--on:- push:- branches:- - main- paths:- - "docs/**"- pull_request:- branches:- - main- paths:- - "docs/**"- workflow_dispatch:--permissions:- contents: write--defaults:- run:- working-directory: docs--jobs:- test-deploy:- name: Test deployment- if: github.event_name == 'pull_request'- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@v4- with:- fetch-depth: 0- - uses: actions/setup-node@v4- with:- node-version: 22- cache: npm- cache-dependency-path: docs/package-lock.json- - name: Install dependencies- run: npm ci- - name: Test build website- run: npm run build-- deploy:- name: Deploy to GitHub Pages- if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@v4- with:- fetch-depth: 0- - uses: actions/setup-node@v4- with:- node-version: 22- cache: npm- cache-dependency-path: docs/package-lock.json- - name: Install dependencies- run: npm ci- - name: Build website- run: npm run build- - name: Deploy to GitHub Pages- uses: peaceiris/actions-gh-pages@v3- with:- github_token: ${{ secrets.GITHUB_TOKEN }}- publish_dir: ./docs/build- cname: docs-test.swetrix.comdiff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.jsindex a839be46c..b53d3958f 100644--- a/docs/docusaurus.config.js+++ b/docs/docusaurus.config.js@@ -4,8 +4,8 @@module.exports = {title: 'Swetrix Docs',tagline: 'Ultimate open-source analytics to satisfy all your needs',- url: 'https://docs-test.swetrix.com',- baseUrl: '/swetrix/',+ url: 'https://docs.swetrix.com',+ baseUrl: '/',onBrokenLinks: 'throw',onBrokenMarkdownLinks: 'throw',favicon: 'img/favicon.ico',diff --git a/docs/package.json b/docs/package.jsonindex e575b31d5..9062c46c2 100644--- a/docs/package.json+++ b/docs/package.json@@ -7,7 +7,7 @@"start": "docusaurus start","build": "docusaurus build","swizzle": "docusaurus swizzle",- "deploy": "GIT_USER=git docusaurus deploy",+ "deploy": "docusaurus deploy","clear": "docusaurus clear","serve": "docusaurus serve","format": "prettier --write .",diff --git a/docs/static/CNAME b/docs/static/CNAMEdeleted file mode 100644index e7c258930..000000000--- a/docs/static/CNAME+++ /dev/null@@ -1 +0,0 @@-docs-test.swetrix.com