-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5832d4c
commit f34526c
Showing
3 changed files
with
34 additions
and
55 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,24 +40,6 @@ jobs: | |
- run: | ||
name: Run Smoke UI Tests | ||
command: scripts/testPrebidDemo.sh -ui -l | ||
|
||
generate-documentation: | ||
macos: | ||
xcode: 15.4.0 | ||
resource_class: macos.m1.medium.gen1 | ||
steps: | ||
- checkout | ||
- run: | ||
name: Install Jazzy | ||
command: gem install jazzy | ||
- run: | ||
name: Generate documentation | ||
command: jazzy | ||
- run: | ||
name: Commit and Push | ||
command: git config --global user.name "OlenaPostindustria" && git config --global user.email "[email protected]" && git checkout docs && git pull --rebase && git add docs/ && git commit -m "Add Prebid Mobile docs" && git push | ||
- store_artifacts: | ||
path: PrebidMobile_Docs/ | ||
|
||
workflows: | ||
pr-check: | ||
|
@@ -70,12 +52,3 @@ workflows: | |
name: Run Intgration Tests - Swift Demo App | ||
- run-swift-demo-ui-tests: | ||
name: Run Smoke UI Tests - Swift Demo App | ||
|
||
release: | ||
jobs: | ||
- generate-documentation: | ||
name: Generate PrebidMobile Documentation | ||
filters: | ||
tags: | ||
only: /^test-.*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Upload Docs iOS | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'test-*' | ||
|
||
jobs: | ||
upload-docs: | ||
|
||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: docs | ||
- name: Generate docs | ||
run: | | ||
jazzy | ||
- name: Commit documentation changes | ||
run: | | ||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git config --local user.name "github-actions[bot]" | ||
git status | ||
TAG=$(git describe --tags --abbrev=0) | ||
echo "Current tag: $TAG" | ||
git add -A && git commit -m "Generate docs - $TAG" | ||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: docs |
This file was deleted.
Oops, something went wrong.