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

프론트엔드 CD 파일 오타 수정 #528

Merged
merged 1 commit into from
Aug 21, 2024
Merged
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
7 changes: 4 additions & 3 deletions .github/workflows/frontend_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

echo "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}" >> ${{ env.frontend-directory }}/.env.production
echo "SENTRY_DSN=${{ secrets.SENTRY_DSN }}" >> ${{ env.frontend-directory }}/.env.production
echo "SENTRY_DSN=${{ secrets.SENTRY_AUTH_TOKEN }}" >> ${{ env.frontend-directory }}/.env.sentry-build-plugin
echo "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}" >> ${{ env.frontend-directory }}/.env.sentry-build-plugin

- name: 환경 파일 권한 설정
run: chmod 644 ${{ env.frontend-directory }}/.env.*
Expand All @@ -58,7 +58,9 @@ jobs:
runs-on: self-hosted
steps:
- name: 아티팩트 디렉토리 생성
run: mkdir ${{ secrets.FRONT_DIRECTORY }}
run: |
rm -rf ${{ secrets.FRONT_DIRECTORY }}
mkdir ${{ secrets.FRONT_DIRECTORY }}
- name: 아티팩트 다운로드
uses: actions/download-artifact@v4
with:
Expand All @@ -71,4 +73,3 @@ jobs:
else
aws s3 cp --recursive ${{ secrets.FRONT_DIRECTORY }} s3://techcourse-project-2024/code-zap-staging
fi
rm -rf ${{ secrets.FRONT_DIRECTORY }}