Skip to content

docs: update README badge format #8

docs: update README badge format

docs: update README badge format #8

Workflow file for this run

name: Documentation
on:
push:
branches: [ main ]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_16.0.app/Contents/Developer
- name: Build Documentation
run: |
swift package --allow-writing-to-directory ./docs \
generate-documentation --target Algorand \
--disable-indexing \
--transform-for-static-hosting \
--hosting-base-path swift-algorand \
--output-path ./docs
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4