diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 18e087d..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: vue3-vite-vant-ts-h5 -on: # 监听 master 分支上的 push 事件 - push: - branches: - - main -jobs: - build-and-deploy: - runs-on: ubuntu-latest # 构建环境使用 ubuntu - steps: - - name: Checkout - uses: actions/checkout@v2.3.1 - with: - persist-credentials: false - - - name: Install and Build # 下载依赖 打包项目 - run: | - npm install - npm run build - - name: Deploy - uses: JamesIves/github-pages-deploy-action@3.5.9 # 使用别人写好的 actions - with: # 自定义环境变量 - ACCESS_TOKEN: ${{ secrets.VUE3_TOKEN }} # VUE3_TOKEN 是我的 secret 名称,需要替换成你的 - BRANCH: gh-pages - FOLDER: dist - REPOSITORY_NAME: talktao/talktao.github.io # 这是我的 github page 仓库 - TARGET_FOLDER: vue3-vite-vant-ts-h5 # 打包的文件将放到静态服务器 vue3-vite-vant-ts-h5 目录下