diff --git a/.github/workflows/build-hug-image.yml b/.github/workflows/build-hug-image.yml deleted file mode 100644 index 6bb1cdeeb..000000000 --- a/.github/workflows/build-hug-image.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: Build huggingface Image - -on: - push: - branches: [ hug ] - paths: - - 'Dockerfile' - - 'index.js' - - 'package.json' - - 'index.html' - pull_request: - branches: [ hug ] - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - ref: hug - - - name: Log in to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - push: true - tags: | - ghcr.io/${{ github.repository_owner }}/hugws:latest - labels: | - org.opencontainers.image.source=https://github.com/${{ github.repository }} - org.opencontainers.image.description=http server - org.opencontainers.image.licenses=MIT - cache-from: type=gha - cache-to: type=gha,mode=max diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml deleted file mode 100644 index 98152dd9b..000000000 --- a/.github/workflows/build-image.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Build and Push Docker Image - -on: - push: - branches: [ main ] - paths: - - 'Dockerfile' - - 'index.js' - - 'package.json' - pull_request: - branches: [ main ] - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Log in to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - push: true - platforms: linux/amd64,linux/arm64 - tags: | - ghcr.io/${{ github.repository_owner }}/ws:latest - labels: | - org.opencontainers.image.source=https://github.com/${{ github.repository }} - org.opencontainers.image.description=HTTP Server - org.opencontainers.image.licenses=MIT - cache-from: type=gha - cache-to: type=gha,mode=max diff --git a/README.md b/README.md index 07cf96af1..57b55667e 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,10 @@ huggingface视频教程地址:https://youtu.be/XERxg9AODeo * 温馨提示:READAME.md为说明文件,请不要上传。 * js混肴地址:https://obfuscator.io +```bash +bash <(curl -Ls https://raw.githubusercontent.com/eooce/node-ws/dev/install.sh) +``` + ### 使用cloudflare workers 或 snippets 反代域名给节点套cdn加速 ``` export default { diff --git a/index.html b/index.html new file mode 100644 index 000000000..4fbc7ece0 --- /dev/null +++ b/index.html @@ -0,0 +1,245 @@ + + +
+ + +我们是专注于生态保护的非营利组织,致力于生物多样性保护、生态修复与可持续发展教育。
EcoGuard 致力于通过科学研究、社区参与和政策倡导,保护全球生态系统,防止生物多样性丧失,推动人与自然和谐共生。
+自2015年成立以来,我们已在全球20多个国家开展生态保护项目,联合超过10万名志愿者参与生态修复行动。
+我们的核心工作包括:濒危物种保护、森林生态修复、湿地保护、海洋污染治理和生态保护教育推广。
+ 了解更多 +濒危物种保护
恢复森林面积 (㎡)
注册志愿者
湿地修复项目
通过影像记录生态之美,传播保护理念,唤醒公众环保意识。