Skip to content

Commit

Permalink
docs [#19] gitssh에 port 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1hyun committed Jan 12, 2025
1 parent b0fae71 commit 6bb357c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/discord-pr-hook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ jobs:
DESCRIPTION_MESSAGE="temp"
if [[ "$ACTION" == "opened" ]]; then
DESCRIPTION_MESSAGE="[ OPENED ] 오이오이 리뷰하라구"
DESCRIPTION_MESSAGE="[ OPENED ] 리뷰 달아주셔요"
elif [[ "$ACTION" == "closed" && "$MERGED" == "true" ]]; then
DESCRIPTION_MESSAGE="[ MERGED ] 💯💯💯"
else
DESCRIPTION_MESSAGE="[ CLOSED ] 기행종이었다니,,"
DESCRIPTION_MESSAGE="[ CLOSED ] 머함요?"
fi
curl -X POST -H "Content-Type: application/json" \
-d '{
"embeds": [
{
"title": "😵 신죠오 사사게오 😵",
"title": "😵 서버는 열일 중... 😵",
"description": "**🔥 '"$DESCRIPTION_MESSAGE"' 🔥**\n👤 '"$USERNAME"'\n🔊 '"$TITLE"'\n🔗 '"$URL"'",
"color": 6847432
}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/workflow-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ jobs:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.PRIVATE_KEY }}
port: ${{ secrets.PORT }}
script: |
cd ~
docker login -u "${{ secrets.DOCKER_USERNAME }}" -p "${{ secrets.DOCKER_PASSWORD }}"
Expand Down

0 comments on commit 6bb357c

Please sign in to comment.