docs: 2023년 회고에서 넘치는 이미지 크기 조정 [deploy] #27
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: 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" | |