[feat/#123] 아이콘 추가, 다운로드 URL 설정, 자동 업데이트 코드 추가, github action 디스코드 알림 수정 #104
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
name: Discord PR Notification | |
on: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
notify_discord: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Discord Notification | |
env: | |
DISCORD_WEBHOOK: ${{ secrets.DISCORD_PR_WEBHOOK }} | |
DISCORD_USERNAME: GitHub | |
DISCORD_AVATAR: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png | |
uses: Ilshidur/action-discord@master | |
with: | |
args: | | |
새로운 PR이 열렸습니다!<@${{ secrets.DISCORD_ID_1 }}> <@${{ secrets.DISCORD_ID_2 }}> | |
PR: ${{ github.event.pull_request.html_url }} | |
작성자: ${{ github.event.pull_request.user.login }} | |
제목: ${{ github.event.pull_request.title }} |