From 06fbd8c51b67eb0c5df1a8c2ee777866ac652a46 Mon Sep 17 00:00:00 2001 From: chenos Date: Sat, 24 Jul 2021 16:51:30 +0800 Subject: [PATCH] bugfix --- .github/workflows/vercel.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/vercel.yml b/.github/workflows/vercel.yml index cd04bb977..44e2c53d1 100644 --- a/.github/workflows/vercel.yml +++ b/.github/workflows/vercel.yml @@ -2,9 +2,6 @@ name: vercel on: [push] -env: - API_URL: ${{env.API_URL}} - jobs: deploy: runs-on: ubuntu-18.04 @@ -26,7 +23,7 @@ jobs: - run: npm install - run: npm run bootstrap - - run: echo "API_URL=${{env.API_URL}}" >> .env + - run: echo "API_URL=${{secrets.API_URL}}" >> .env - run: npm run build-docs - name: Deploy