Skip to content

๐ŸŽจ Phase 3-5: ARKit, Bluetooth, Foundation Models ํŠœํ† ๋ฆฌ์–ผ ์ถ”๊ฐ€ #11

๐ŸŽจ Phase 3-5: ARKit, Bluetooth, Foundation Models ํŠœํ† ๋ฆฌ์–ผ ์ถ”๊ฐ€

๐ŸŽจ Phase 3-5: ARKit, Bluetooth, Foundation Models ํŠœํ† ๋ฆฌ์–ผ ์ถ”๊ฐ€ #11

Workflow file for this run

name: Deploy HIG Lab
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Select Xcode 16
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.0'
# ========================================
# ๐Ÿ“ฆ ๋ฐฐํฌ ํด๋” ์ดˆ๊ธฐํ™”
# ========================================
- name: Prepare output
run: mkdir -p deploy
# ========================================
# ๐Ÿ“ ๋ธ”๋กœ๊ทธ ์‚ฌ์ดํŠธ ๋ณต์‚ฌ
# ========================================
- name: Copy blog site
run: |
cp site/index.html deploy/
mkdir -p deploy/blog
cp -r site/widgets deploy/blog/
# ========================================
# ๐Ÿ“š DocC: Widgets
# ========================================
- name: Build DocC - Widgets
run: |
cd tutorials/widgets
swift package resolve
xcodebuild docbuild \
-scheme HIGWidgets \
-derivedDataPath /tmp/docbuild-widgets \
-destination 'platform=macOS'
$(xcrun --find docc) process-archive \
transform-for-static-hosting \
/tmp/docbuild-widgets/Build/Products/Debug/HIGWidgets.doccarchive \
--output-path ../../deploy/widgets \
--hosting-base-path HIGLab/widgets
# ========================================
# ๐Ÿ“š DocC: Live Activities (์ฃผ์„ ํ•ด์ œํ•˜์—ฌ ์ถ”๊ฐ€)
# ========================================
# - name: Build DocC - Live Activities
# run: |
# cd tutorials/live-activities
# swift package resolve
# xcodebuild docbuild \
# -scheme HIGLiveActivities \
# -derivedDataPath /tmp/docbuild-la \
# -destination 'generic/platform=iOS'
# $(xcrun --find docc) process-archive \
# transform-for-static-hosting \
# /tmp/docbuild-la/Build/Products/Debug-iphoneos/HIGLiveActivities.doccarchive \
# --output-path ../../deploy/live-activities \
# --hosting-base-path HIGLab/live-activities
# ========================================
# ๐Ÿš€ ๋ฐฐํฌ
# ========================================
- name: Upload to Pages
uses: actions/upload-pages-artifact@v3
with:
path: 'deploy'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4