Skip to content

docs: add pre-1.0 notice to README #9

docs: add pre-1.0 notice to README

docs: add pre-1.0 notice to README #9

Workflow file for this run

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