diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 0942ecd..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Build static assets - -on: - push: - branches: - - main - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - - - name: Install dependencies - run: npm install - - - name: Build static assets - run: npm run build diff --git a/README.md b/README.md index e88fe4e..d18be82 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ A modern real-time chat system with **true end-to-end encryption**, ensuring tha [中文文档](./README.zh-CN.md) +## 一键部署到 Cloudflare Workers + +[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button?projectName=NodeCrypt)](https://deploy.workers.cloudflare.com/?url=https://github.com/shuaiplus/NodeCrypt) + ## Core Concept NodeCrypt implements a secure communication channel where: