doc: tig 매뉴얼을 업데이트하다 #193
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/**" | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }} | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| submodules: recursive | |
| # https://github.com/astral-sh/setup-uv | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v7 | |
| 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: Google adsense | |
| run: | | |
| echo "google.com, pub-1014314833699403, DIRECT, f08c47fec0942fa0" >> ./output/ads.txt | |
| - 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: ujuc@ujuc.me |