From c66b56cec3dd7e4a6b3697686b367dde02469690 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vi=CC=81t=20Nademlejnsky=CC=81?= Date: Mon, 15 Jan 2024 10:11:12 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7Update=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update CI to generate Documentation on main branch --- .github/workflows/docbuild.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/docbuild.yml diff --git a/.github/workflows/docbuild.yml b/.github/workflows/docbuild.yml new file mode 100644 index 00000000..8cb24d9a --- /dev/null +++ b/.github/workflows/docbuild.yml @@ -0,0 +1,20 @@ +name: Generate DocC +on: + push: + branches: [ main ] + +jobs: + Build-Github-Actions: + runs-on: macos-latest + + steps: + - name: Git Checkout + uses: actions/checkout@v2 + - name: Documentation Generation + run: xcodebuild docbuild -scheme ACKategories -derivedDataPath ./docbuild -destination 'platform=iOS Simulator,OS=latest,name=iPhone 13 Pro' + - name: Copy DoccArchive into root + run: cp -R ./docbuild/Build/Products/Debug/ACKategories.doccarchive ./ACKategories.doccarchive + - name: Delete Build Files + run: rm -r ./docbuild + +