Fix image overlay in forum search, add pronoun to byline (#319) #161
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: PublishDocumentation | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
if: github.repository == 'jocosocial/swiftarr' | |
runs-on: macos-13 | |
steps: | |
- name: Install SourceKitten | |
run: brew install sourcekitten | |
- name: Install Jazzy | |
run: sudo gem install jazzy | |
- name: Install Swift | |
uses: swift-actions/setup-swift@v2 | |
with: | |
swift-version: "5.10.0" | |
- name: Confirm Swift Version | |
run: swift --version | |
- name: Checkout Swiftarr | |
uses: actions/checkout@v2 | |
- name: Generate Docs | |
run: scripts/generatedocs.sh | |
- name: Upload Artifact | |
uses: actions/upload-pages-artifact@v3 | |
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 |