From b606531add4dd525072ac06fc4cfab35bb71bcc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E4=BB=A3=E7=B6=BA=E5=87=9C?= Date: Tue, 14 Jul 2020 13:01:56 +0800 Subject: [PATCH] feat: deploy to Vercel --- .github/workflows/pages-deploy.yml | 25 ------------------------- vercel.json | 5 +++++ 2 files changed, 5 insertions(+), 25 deletions(-) delete mode 100644 .github/workflows/pages-deploy.yml create mode 100644 vercel.json diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml deleted file mode 100644 index 298d8dd..0000000 --- a/.github/workflows/pages-deploy.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Deploy to Pages -on: - push: - branches: - - master - paths: - - 'src/**' - - 'public/**' - - 'vue.config.js' -jobs: - build-and-deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - ref: master - - name: Build and Deploy - uses: JamesIves/github-pages-deploy-action@releases/v2 - env: - ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} - BRANCH: gh-pages - FOLDER: dist - CNAME: ${{ secrets.CNAME }} - BUILD_SCRIPT: yarn install --frozen-lockfile && yarn run build diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..7ae9a3d --- /dev/null +++ b/vercel.json @@ -0,0 +1,5 @@ +{ + "github": { + "silent": true + } +}