refactor: build system 내용을 추가하다 #141
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: github pages | |
on: | |
push: | |
branches: develop | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup rye | |
uses: eifinger/setup-rye@v4 | |
- name: Install dependencies | |
run: rye sync --no-lock | |
- name: Build posts | |
run: rye run cli build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
personal_token: ${{ secrets.PERSONAL_TOKEN }} | |
publish_branch: master | |
publish_dir: ./output | |
user_name: Sungjin Kang | |
user_email: [email protected] |