docs: "변화는 가시화된 행동에서 시작한다" 이미지 크기 변경 [deploy] #104
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: deploy document | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| workflow_dispatch: | |
| jobs: | |
| deploy-document: | |
| if: contains(github.event.head_commit.message, 'deploy') == true | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| token: ${{ secrets.MY_TOKEN }} | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| - run: | | |
| git config --global user.email "junil.h@kakao.com" | |
| git config --global user.name "JunilHwang" | |
| - name: 배포 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.MY_TOKEN }} | |
| run: | | |
| npm install -g yarn | |
| yarn install | |
| sh deploy-by-workflow.sh "deploy" | |