Merge pull request #30 from AdaEngine/bugfix/sprite_batch #34
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
name: Deploy Docs | |
# on: | |
# push: | |
# branches: | |
# - 'main' | |
on: | |
push | |
# branches: | |
# - 'main' | |
permissions: | |
contents: write | |
jobs: | |
build-and-deploy-docs: | |
runs-on: macos-latest | |
steps: | |
- name: Setup Xcode version | |
uses: maxim-lobanov/setup-xcode@v1.6.0 | |
with: | |
xcode-version: '15.3' | |
- 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 | |
- name: Deploy to Github pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: docs | |
token: ${{ secrets.DOCS_ACCESS_TOKEN }} | |
repository-name: AdaEngine/adaengine-docs | |
single-commit: true | |
force: true |