Publish Documentation #2
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
on: | |
workflow_dispatch: | |
name: Publish Documentation | |
jobs: | |
build-publish: | |
runs-on: macos-13 | |
permissions: | |
id-token: write # Needed if using OIDC to get release secrets. | |
contents: write # Needed in this case to write github pages. | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and Test | |
uses: ./.github/actions/ci | |
with: | |
xcode-version: 14.3.1 | |
ios-sim: 'platform=iOS Simulator,name=iPhone 14,OS=16.4' | |
run-contract-tests: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: ./.github/actions/build-docs | |
- uses: ./.github/actions/publish-docs | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |