앱에서 본인인증 만료되면 버튼 나오게 수정 #2282
Workflow file for this run
This file contains hidden or 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: Comment on preview | |
on: | |
pull_request: | |
types: [labeled] | |
jobs: | |
add-comment: | |
runs-on: ubuntu-latest | |
if: github.event.action == 'labeled' && github.event.label.name == 'preview' | |
steps: | |
- uses: actions/create-github-app-token@v1 | |
id: gh-token | |
with: | |
app-id: ${{ secrets.GH_APP_ID }} | |
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} | |
- uses: actions-ecosystem/action-create-comment@v1 | |
with: | |
github_token: ${{ steps.gh-token.outputs.token }} | |
body: | | |
배포가 끝나면 아래 주소에서 프리뷰를 확인할 수 있어요. | |
| 프로젝트 | 프리뷰 URL | | |
| --- | --- | | |
| website | https://website-pr-${{ github.event.pull_request.number }}.withglyph.dev | | |
| company | https://company-pr-${{ github.event.pull_request.number }}.withglyph.dev | | |
| help | https://help-pr-${{ github.event.pull_request.number }}.withglyph.dev | |