Skip to content

G1J0SHI/Swift-Doc-Deployment

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

GitHub Action

Swift Doc Deployment

Deploys the Swift documentation to GitHub pages.

Usage

name: "Swift Doc Deployment"

on: [push]

jobs:
  build:
    runs-on: macos-latest

    steps:
      - uses: actions/checkout@main
      - uses: g1j0shi/swift-doc-deployment@main

Input

      ...
      - uses: g1j0shi/swift-doc-deployment@main
        with:
          target: "SwiftPackage" # The Swift package target to generate documentation for.
          branch: "gh-pages" # The branch where the documentation will be deployed.