Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hot fix: env 파일 제거 #161

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .env.production

This file was deleted.

9 changes: 7 additions & 2 deletions .github/workflows/BuildTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Get Env
run: |
touch ./.env.production
echo "${{secrets.PRODUCTION_ENV}}" > ./.env.production

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "yarn"
node-version: '20.x'
cache: 'yarn'

- name: Install dependencies
run: yarn install
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ jobs:
node-version: [18.x, 20.x]
steps:
- name: git clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get Env
run: |
touch ./.env.production
echo "${{secrets.PRODUCTION_ENV}}" > ./.env.production

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -42,7 +47,12 @@ jobs:
steps:
- name: 코드 체크아웃
id: checkout-code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get Env
run: |
touch ./.env.production
echo "${{secrets.PRODUCTION_ENV}}" > ./.env.production

- name: Use Node.js 20.x
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wdyta",
"version": "0.1.0",
"version": "0.2.0",
"type": "module",
"private": true,
"scripts": {
Expand Down