Use frame modifier inside relative modifier (#49) #83
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: GitHub Pages | |
on: | |
push: | |
branches: | |
- main # Set a branch name to trigger deployment | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: macos-13 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
steps: | |
- uses: maxim-lobanov/setup-xcode@v1.1 | |
with: | |
xcode-version: "15.0" | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true # Fetch Hugo themes (true OR recursive) | |
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
- name: Build | |
run: xcodebuild docbuild -scheme SwiftUISupport -derivedDataPath .build -destination 'generic/platform=iOS' | |
- name: Generate | |
run: | | |
$(xcrun --find docc) process-archive \ | |
transform-for-static-hosting ".build/Build/Products/Debug-iphoneos/SwiftUISupport.doccarchive" \ | |
--output-path public \ | |
--hosting-base-path "swiftui-support" | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./public |