diff --git a/.github/workflows/autoDeployPages.yml b/.github/workflows/autoDeployPages.yml index 9e33915..c494d5c 100644 --- a/.github/workflows/autoDeployPages.yml +++ b/.github/workflows/autoDeployPages.yml @@ -1,14 +1,19 @@ -name: CI +name: Deploy gh-pages on: push: branches: - master +permissions: + contents: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build-and-deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Build + - name: Install & Build uses: actions/setup-node@v3 with: node-version: "18.x" @@ -16,7 +21,7 @@ jobs: - run: npm install - run: npm run build - name: Deploy # 部署 - uses: JamesIves/github-pages-deploy-action@v4.3.3 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages # 部署后提交到那个分支 folder: dist # 这里填打包好的目录名称 diff --git a/index.html b/index.html index e0bbeaa..a02393d 100644 --- a/index.html +++ b/index.html @@ -2,9 +2,9 @@
- + -| 服务器 | -操作 | -
|---|