Skip to content

brew

brew #100

Workflow file for this run

name: PublishDocumentation
on:
workflow_dispatch:
push:
branches:
- master
- swift510
jobs:
build:
#if: github.repository == 'jocosocial/swiftarr'
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- uses: swift-actions/setup-swift@v2
with:
swift-version: "5.9.2"
- name: Get swift version
run: swift --version
- name: Install SourceKitten
run: brew install sourcekitten
# - name: Publish Jazzy Docs
# uses: jocosocial/[email protected]
# with:
# personal_access_token: ${{ secrets.DOCS_ACCESS_TOKEN }}
# config: .jazzy.yaml
- name: Generate Docs
run: scripts/generatedocs.sh
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: github-pages
path: docs/Output
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4