Skip to content

fix typo

fix typo #22

Workflow file for this run

name: Deploy DocC
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- README.md
- .gitignore
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: macos-15
env:
DEVELOPER_DIR: /Applications/Xcode_16.2.app/Contents/Developer
steps:
- uses: actions/checkout@v4
- name: Build DocC
run: |
$(xcrun --find docc) convert \
--hosting-base-path /swiftui-view-coding-guidelines \
--output-path Target.doccarchive \
Guide.docc
$(xcrun --find docc) process-archive transform-for-static-hosting \
Target.doccarchive \
--hosting-base-path /swiftui-view-coding-guidelines \
--output-path ./docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4