diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d0f4da8..0c8039c 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -7,9 +7,12 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v2 - - uses: sersoft-gmbh/swifty-docs-action@v1 + - uses: steven0351/publish-jazzy-docs@v1 with: - module-version: ${{ github.event.inputs.version }} + personal_access_token: ${{ secrets.PAT }} + config: .github/jazzy.yml + version: ${{ github.event.release.tag_name }} + history: false pods: runs-on: macos-latest @@ -18,4 +21,4 @@ jobs: - run: pod trunk push --allow-warnings env: COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} - VERSION: ${{ github.event.inputs.version }} + VERSION: ${{ github.event.release.tag_name }} diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index c4a04d5..393d48b 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -3,6 +3,9 @@ on: push: branches: - master + paths: + - Sources/** + - Tests/** jobs: macOS: runs-on: macos-latest