Skip to content

Commit

Permalink
added xcode version on doc build action
Browse files Browse the repository at this point in the history
  • Loading branch information
WeDontNeedTo committed May 16, 2024
1 parent 9b242a1 commit 797eee0
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
name: Deploy Docs

on:
push:
branches:
- 'main'
# on:
# push:
# branches:
# - 'main'

permissions:
contents: write

jobs:
build-and-deploy-docs:
runs-on: macos-latest
runs-on: macos-latest
steps:
- uses: maxim-lobanov/setup-xcode@v1.6.0
with:
xcode-version: latest-stable
- uses: actions/checkout@v2
- name: Build Documentation
run: swift package --allow-writing-to-directory ./docs generate-documentation --target AdaEngine --output-path ./docs --transform-for-static-hosting --hosting-base-path adaengine-docs
Expand Down

0 comments on commit 797eee0

Please sign in to comment.