Skip to content

Commit

Permalink
[FEAT] Serverless Offline 실행을 위한 환경변수 주입 명령 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yummygyudon committed Nov 18, 2024
1 parent 9c01d52 commit 2546f0b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,16 @@ jobs:
- name: Build Project
run: npm run build


- name: Run Serverless-offline
run: npm run start
env:
ENV_FILE: ${{ secrets.ENV_DEV }}
run: |
touch .env.dev
ehco "$ENV_FILE" >> .env.dev
npm run start
- name: Run Validate Script
run: |
Expand Down

0 comments on commit 2546f0b

Please sign in to comment.