-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into refactor/component-name-prefix
- Loading branch information
Showing
59 changed files
with
1,244 additions
and
1,091 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
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 |
---|---|---|
|
@@ -69,6 +69,10 @@ jobs: | |
|
||
- name: Install docs dependencies | ||
run: poetry install --with docs | ||
|
||
- name: Check markdown formatting | ||
uses: dprint/[email protected] | ||
if: runner.os == 'Linux' | ||
|
||
- name: Test docs build (mkdocs) | ||
run: poetry run mkdocs build -f docs/mkdocs.yml | ||
|
@@ -79,3 +83,46 @@ 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 | ||
|
||
publish-dev-docs-from-pr: | ||
runs-on: ubuntu-22.04 | ||
if: ${{ github.event_name == 'pull_request' }} | ||
needs: [test] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
# Checks to see if any files in the PR match one of the listed file types. | ||
# This will return true if there's a file in docs folder that was added, deleted, or modified in the PR. | ||
- name: Check if files in docs folder have changed | ||
uses: dorny/paths-filter@v2 | ||
id: docs-changes | ||
with: | ||
filters: | | ||
docs: | ||
- added|deleted|modified: 'docs/**' | ||
- 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 |
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 |
---|---|---|
|
@@ -6,6 +6,7 @@ on: | |
- main | ||
paths: | ||
- .github/** | ||
- actions/** | ||
|
||
jobs: | ||
actionlint: | ||
|
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
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
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
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
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# KPOps runner | ||
|
||
Please refer to the | ||
[GitHub Actions section](https://bakdata.github.io/kpops/latest/user/references/ci-integration/github-actions) | ||
for the documentation. | ||
Please refer to the [GitHub Actions section](https://bakdata.github.io/kpops/latest/user/references/ci-integration/github-actions) for the documentation. |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.