0.6.2 #16 #10
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
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: npm install, build | |
run: | | |
npm clean-install | |
npm run build | |
- name: Git config | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
- name: Commit, Push | |
run: | | |
git --work-tree dist add --all # dist 폴더를 git root directory 로 | |
git commit -m 'Deploy by Github actions' | |
git push origin HEAD:release --force |