Skip to content

Commit c0033bd

Browse files
committed
ci(env): add env secrets generation in github actions file
1 parent 3c59e78 commit c0033bd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ jobs:
1919
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}
2020
restore-keys: |
2121
${{ runner.os }}-
22+
- name: Create .env file
23+
run: |
24+
touch .env
25+
echo API_KEY = ${{ secrets.API_KEY }} >> .env
26+
echo CHANNEL_ID = ${{ secrets.CHANNEL_ID }} >> .env
27+
echo REFERER = ${{ secrets.REFERER }} >> .env
28+
2229
- name: Install Dependencies
2330
run: yarn install
2431
- name: Build

0 commit comments

Comments
 (0)