Skip to content

Commit

Permalink
feat: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
OlenaPostindustria committed Aug 21, 2024
1 parent 5832d4c commit f34526c
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 55 deletions.
27 changes: 0 additions & 27 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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-.*/

34 changes: 34 additions & 0 deletions .github/workflows/upload-docs-ios.yml
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
28 changes: 0 additions & 28 deletions .github/workflows/upload-docs.yml

This file was deleted.

0 comments on commit f34526c

Please sign in to comment.