Skip to content

Release Documentation #36

Release Documentation

Release Documentation #36

---
name: Release Documentation
on:
push:
tags:
- "*"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
pages: write
id-token: write
jobs:
docs:
name: build documentation and release
runs-on: macos-latest
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install SSH Key
uses: shimataro/[email protected]
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: github.com
- name: Adding Known Hosts
run: ssh-keyscan -H github.com >> ~/.ssh/known_hosts
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
bundler-cache: true
- name: Install Jazzy
run: sudo gem install jazzy
- name: ABC Install
uses: lyricwulf/abc@v1
with:
macos: sourcekitten
- name: Build Docs
run: xcodebuild docbuild -scheme AtalaPrismSDK -destination "platform=macOS" -derivedDataPath ./doccBuild OTHER_DOCC_FLAGS="--transform-for-static-hosting --output-path ./docc --hosting-base-path '/atalaprismsdk'"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./docc
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build-docs

Check failure on line 66 in .github/workflows/releaseDocumentation.yml

View workflow run for this annotation

GitHub Actions / Release Documentation

Invalid workflow file

The workflow is not valid. .github/workflows/releaseDocumentation.yml (Line: 66, Col: 12): Job 'deploy' depends on unknown job 'build-docs'.
steps:
- name: Deploy Docs
uses: actions/deploy-pages@v1