This commit is contained in:
chenos 2021-07-24 16:51:30 +08:00
parent 5d846f3ced
commit 06fbd8c51b

View File

@ -2,9 +2,6 @@ name: vercel
on: [push] on: [push]
env:
API_URL: ${{env.API_URL}}
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
@ -26,7 +23,7 @@ jobs:
- run: npm install - run: npm install
- run: npm run bootstrap - 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 - run: npm run build-docs
- name: Deploy - name: Deploy