universal-framework.md 업데이트 #106
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 | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: deploy-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
blog-deploy: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Select Xcode 15 | |
run: sudo xcode-select -s /Applications/Xcode_15.0.1.app | |
- name: Setup Nodejs | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Generate blog | |
run: make run | |
- name: Install dependencies | |
run: npm install | |
- name: Run Tailwind CSS | |
run: make tailwind | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GH_TOKEN }} | |
publish_dir: ./Output | |
publish_branch: gh-pages | |
cname: blog.jihoon.me |