Skip to content
Snippets Groups Projects
Commit aa6b5770 authored by Gregor Longariva's avatar Gregor Longariva :speech_balloon:
Browse files

Update .gitlab-ci.yml file

parent fe6454bf
Branches
Tags
No related merge requests found
stages:
- deploy
variables:
SCHEME: "dogeADAuth" # <-- change this to your scheme name
DESTINATION: "generic/platform=macOS" # <-- change this to your desired destination
BASE_PATH: "dogeADAuth" # <-- Usually a lowercased version of your package name
OUTPUT_PATH: "./public"
LC_ALL: "en_US.UTF-8"
LANG: "en_US.UTF-8"
pages:
stage: deploy
# build the documentation using xcodebuild docbuild:
script:
- |
set -o pipefail && \
xcodebuild clean docbuild \
-scheme $SCHEME \
-destination $DESTINATION \
OTHER_DOCC_FLAGS="--transform-for-static-hosting \
--hosting-base-path $BASE_PATH \
--output-path $OUTPUT_PATH" \
| xcbeautify
# add the public folder as an artifact
artifacts:
paths:
- public
# only run this when the main branch is updated
rules:
- if: $CI_COMMIT_BRANCH == "main"
tags:
- xcode
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment