README 오탈자 수정 #12
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 DocC to Github Pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
hosting: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '14.0' | |
- name: config git | |
run: | | |
git config --global user.name 'baekteun' | |
git config --global user.email '[email protected]' | |
git config pull.rebase false | |
git checkout -t origin/Deploy_DocC | |
git pull origin Deploy_DocC | |
git merge master | |
- name: Archive Docc | |
run: | | |
xcodebuild clean docbuild -scheme EventLimiter \ | |
-destination generic/platform=iOS \ | |
OTHER_DOCC_FLAGS="--transform-for-static-hosting --hosting-base-path EventLimiter --output-path docs" | |
- name: git commit & push | |
run: | | |
git add -A | |
git commit -m "📝 :: deploy docc" | |
git push |