Skip to content

Commit

Permalink
Format CI
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Jan 18, 2024
1 parent 9eb494c commit 8b737fb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

- name: Install docs dependencies
run: poetry install --with docs

- name: Check markdown, toml, css formatting
uses: dprint/[email protected]
if: runner.os == 'Linux'
Expand All @@ -85,21 +85,21 @@ jobs:
uses: bakdata/ci-templates/.github/workflows/[email protected]
secrets:
pypi-token: ${{ secrets.TEST_PYPI_TOKEN }}

publish-docs-from-main:
runs-on: ubuntu-22.04
if: ${{ github.ref == 'refs/heads/main' }}
needs: [test]
steps:
- uses: actions/checkout@v3

- name: Publish docs from main branch
uses: ./.github/actions/update-docs
with:
username: ${{ secrets.GH_USERNAME }}
email: ${{ secrets.GH_EMAIL }}
token: ${{ secrets.GH_TOKEN }}
version: main
version: main

publish-dev-docs-from-pr:
runs-on: ubuntu-22.04
Expand All @@ -120,11 +120,11 @@ jobs:
docs:
- added|deleted|modified: 'docs/**'
- name: Publish dev docs from PR
- name: Publish dev docs from PR
if: steps.docs-changes.outputs.docs == 'true'
uses: ./.github/actions/update-docs
with:
username: ${{ secrets.GH_USERNAME }}
email: ${{ secrets.GH_EMAIL }}
token: ${{ secrets.GH_TOKEN }}
version: dev
version: dev

0 comments on commit 8b737fb

Please sign in to comment.