Skip to content

Commit

Permalink
Merge pull request #8 from Nexters/fix/7
Browse files Browse the repository at this point in the history
fix: 서버 이름은 export하여 경로를 읽을 수 있게 수정
  • Loading branch information
injoon2019 authored Jul 20, 2024
2 parents 2aba7ff + 2dbd9c5 commit 70e0565
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ jobs:
echo "DB_PASSWORD=${{ secrets.DB_PASSWORD }}" >> /home/${{ secrets.SERVER_USER_NAME }}/deploy/env_vars.sh
echo "DISCORD_WEBHOOK_URL=${{ secrets.DISCORD_WEBHOOK_URL }}" >> /home/${{ secrets.SERVER_USER_NAME }}/deploy/env_vars.sh
export SERVER_USER_NAME=${{ secrets.SERVER_USER_NAME }}
cd /home/${{ secrets.SERVER_USER_NAME }}/deploy
sudo chmod +x deploy.sh notify_error.sh
./deploy.sh

0 comments on commit 70e0565

Please sign in to comment.