设置Github Actions 在项目根目录里新建文件.github/workflows/cf-pages.yml。然后把我的cf-pages.yml内容粘贴进去。 官方原始文件:https://github.com/cloudflare/pages-action 这里只讲解最后一块: -name:Publish to Cloudflare Pagesuses:cloudflare/pages-action@v1with:apiToken:${{ secrets.CLOUDFLARE_API_TOKEN...
on: pull_request: branches: - main jobs: deploy: runs-on: ubuntu-latest name: Deploy steps: - name: Checkout uses: actions/checkout@v4 - name: Build run: pnpm build - name: Deploy uses: kitabisa/cloudflare-pages-action@v1 with: api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }} ...
然后直接上传压缩包并且创建。成功后会给出项目网址:设置 Github Actions 在项目根目录里新建文件.github/workflows/cf-pages.yml。然后把我的 cf-pages.yml 内容粘贴进去。官方原始文件:github.com/cloudflare/p...这里只讲解最后一块:然后推送,Github Action 就会自动部署。部署成功后就可以访问项目网...
github-actions bot temporarily deployed to devnotes-blog-pl (Preview) May 25, 2023 15:52 Inactive rzeczkowskip added 2 commits May 29, 2023 18:08 Create post file 276b76a Create first draft 26e2b5a rzeczkowskip force-pushed the cloudflare-pages-github-actions-deploy branch from 3a38...
jobs:github-pages:runs-on:ubuntu-lateststeps: 表示使用 ubuntu-latest 作为构建机的操作系统,用 docker 的同学应该很熟悉 #UseGitHubActions' cache to shorten build times and decrease load on servers- uses: actions/cache@v1with:path: vendor/bundlekey: ${{ runner.os }}-gems-${{ hashFiles('**...
前段时间使用 Hexo 重建了个人博客。我之前一直使用 VSCode 在本地写博客,用 git 推送到 GitHub 存档,每次推送的之后都由 GitHub Actions 自动构建 Hexo 静态网站然后发布到 Cloudflare Pages。 现在已经把大部分项目迁移到自家服务器托管的 Gitea 仓库上,虽然暂时还没有自身集成的 CI,但可以很轻松地集成 Drone CI...
前段时间使用 Hexo 重建了个人博客。我之前一直使用 VSCode 在本地写博客,用 git 推送到 GitHub 存档,每次推送的之后都由 GitHub Actions 自动构建 Hexo 静态网站然后发布到 Cloudflare Pages。 现在已经把大部分项目迁移到自家服务器托管的 Gitea 仓库上,虽然暂时还没有自身集成的 CI,但可以很轻松地集成 Drone CI...
Dig’sonline ordering siteis a headless React application that is entirely hosted on Cloudflare Pages. Javascript calls an underlying API to get and handle dynamic ordering logic. The developers at Happy Cog use Github Actions to build/deploy this to Cloudflare Pages when commits are approved and...
Learn how to bypass Cloudflare Bot Management. You'll add evasions to skip blocks by understanding how it works and what sensor data it sends.
Cloudflare Worker 是 Cloudflare 提供的基于Serverless的云端服务,最新的 Workers Sites 允许使用者将博客程序如 Hexo、Wordpress 等部署到 Cloudflare 云端运行,算是新开发出来的奇技淫巧吧。本教程以 Hexo 部署为例,默认具有 Node 环境。 安装Cloudflare 提供的部署程序 Wrangler ...