chore: dependency 설정을 수정하다 #174
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: github pages | |
| on: | |
| push: | |
| branches: develop | |
| paths-ignore: | |
| - ".github/**" | |
| - "cli/**" | |
| concurrency: | |
| group: ${{ github.workflow }} | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| # https://github.com/astral-sh/setup-uv | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| enable-cache: true | |
| ignore-nothing-to-cache: true | |
| - name: Install dependencies | |
| run: uv sync --locked | |
| - name: Build posts | |
| run: uv 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] |