Skip to content

Commit

Permalink
Rerworked deploy triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
stanbrub committed Nov 21, 2023
1 parent 8a4090c commit 5fcca2f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Docs CI

on:
pull_request:
branches: [ 'main', 'release/v*' ]
push:
branches: [ main ]
push:
branches: [ 'main', 'release/v*' ]

jobs:
javadoc:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
path: 'combined-javadoc/build/docs/javadoc/'

- name: Deploy Javadoc
if: ${{ (github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/heads/release/v') }}
if: ${{ github.ref == 'refs/heads/main' }}
uses: burnett01/[email protected]
with:
switches: -avzr --delete
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
path: 'web/client-api/types/build/documentation/'

- name: Deploy JavaScript/TypeScript docs
if: ${{ (github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/heads/release/v') }}
if: ${{ github.ref == 'refs/heads/main' }}
uses: burnett01/[email protected]
with:
switches: -avzr --delete
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
path: 'sphinx/build/pyclient-docs/'

- name: Deploy Python Docs
if: ${{ (github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/heads/release/v') }}
if: ${{ github.ref == 'refs/heads/main' }}
uses: burnett01/[email protected]
with:
switches: -avzr --delete
Expand All @@ -196,7 +196,7 @@ jobs:
remote_key: ${{ secrets.DEEPHAVEN_CORE_SSH_KEY }}

- name: Deploy Client Python Docs
if: ${{ (github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/heads/release/v') }}
if: ${{ github.ref == 'refs/heads/main' }}
uses: burnett01/[email protected]
with:
switches: -avzr --delete
Expand Down Expand Up @@ -266,7 +266,7 @@ jobs:
path: 'sphinx/build/cppExamplesDocs/'

- name: Deploy Client C++ Docs
if: ${{ (github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/heads/release/v') }}
if: ${{ github.ref == 'refs/heads/main' }}
uses: burnett01/[email protected]
with:
switches: -avzr --delete
Expand All @@ -278,7 +278,7 @@ jobs:
remote_key: ${{ secrets.DEEPHAVEN_CORE_SSH_KEY }}

- name: Deploy Client C++ Example Docs
if: ${{ (github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/heads/release/v') }}
if: ${{ github.ref == 'refs/heads/main' }}
uses: burnett01/[email protected]
with:
switches: -avzr --delete
Expand Down Expand Up @@ -333,7 +333,7 @@ jobs:
path: 'R/rdeephaven/docs/'

- name: Deploy R Docs
if: ${{ (github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/heads/release/v') }}
if: ${{ github.ref == 'refs/heads/main' }}
uses: burnett01/[email protected]
with:
switches: -avzr --delete
Expand Down

0 comments on commit 5fcca2f

Please sign in to comment.