Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bclswl0827 committed Jan 31, 2024
1 parent 0b3add4 commit 5517e88
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:

- name: Install and Build
run: |
echo "${{ vars.REACT_APP_GEMINI_API_KEY }}" > .env
echo "REACT_APP_GEMINI_API_KEY=${{ vars.REACT_APP_GEMINI_API_KEY }}" > .env
npm install
npm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,13 @@ $ npm run build

## 配置

项目基础配置位于根目录下的 `.env` 文件中,可根据需要进行修改。
项目基础配置位于根目录下的 `.env` 文件中,请创建该文件并根据实际情况进行配置,格式如下:

```bash
REACT_APP_GEMINI_API_KEY="你的密钥"
```

各配置项说明如下:

| 配置项 | 必填 | 可选值 | 默认值 | 说明 |
| :----------------------: | :--- | :-------------- | :----------- | :--------------------------------------- |
Expand Down

0 comments on commit 5517e88

Please sign in to comment.