-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,13 @@ jobs: # Job 설정 | |
- name: Install dependencies # 의존 파일 설치 | ||
run: npm install | ||
|
||
# - name: change env file | ||
# env: | ||
# run: | | ||
# echo PORT=$ > .env | ||
- name: Set .env from secrets | ||
run: | | ||
echo "PORT=${{ secrets.DEV_PORT }}" > .env | ||
echo "WDS_SOCKET_PORT=0" >> .env | ||
echo "NODE_PATH=src/" >> .env | ||
echo "REACT_APP_API_ROOT=${{ secrets.DEV_REACT_APP_API_ROOT }}" >> .env | ||
echo "REACT_APP_HOME_URL=${{ secrets.DEV_REACT_APP_HOME_URL }}" >> .env | ||
- name: cat env file | ||
run: cat .env | ||
|
@@ -41,13 +44,13 @@ jobs: # Job 설정 | |
aws s3 cp build.tar.gz s3://$BUCKET_NAME/build.tar.gz \ | ||
--endpoint-url $ENDPOINT_URL | ||
# - name: Discordbot alert # 디스코드 알림 | ||
# uses: sarisia/[email protected] | ||
# with: | ||
# webhook: ${{ secrets.DISCORD_WEBHOOK }} | ||
# content: ${{ (github.actor == 'marinesnow34' && '<@392607023495118862>') || | ||
# (github.actor == '1223v' && '<@368775981667844098>') || | ||
# (github.actor == 'imi21123' && '<@999337351799128115>') || | ||
# (github.actor == 'marina-yhm' && '<@946431150614794240>') || | ||
# (github.actor == 'hhhhyelim' && '<@1076887091427946496>') }} | ||
# if: always() | ||
- name: Discordbot alert # 디스코드 알림 | ||
uses: sarisia/[email protected] | ||
with: | ||
webhook: ${{ secrets.DISCORD_WEBHOOK }} | ||
content: ${{ (github.actor == 'marinesnow34' && '<@392607023495118862>') || | ||
(github.actor == '1223v' && '<@368775981667844098>') || | ||
(github.actor == 'imi21123' && '<@999337351799128115>') || | ||
(github.actor == 'marina-yhm' && '<@946431150614794240>') || | ||
(github.actor == 'hhhhyelim' && '<@1076887091427946496>') }} | ||
if: always() |