From dd17d5bb7967e0b18b8e7f1e0735500dc79829bc Mon Sep 17 00:00:00 2001 From: Kirill Druzhinin Date: Wed, 1 May 2024 15:50:31 +0200 Subject: [PATCH 1/3] Add release.yml workflow --- .github/workflows/release.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..da147b4 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,26 @@ +name: Release + +on: + push: + tags: + - "*" + +jobs: + release: + name: release + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - uses: actions/checkout@v4 + - name: Set up PDM + uses: pdm-project/setup-pdm@v4 + with: + python-version: "3.10" + - name: Install dependencies + run: | + pdm sync -G docs + - name: Deploy docs + run: | + pdm run mkdocs gh-deploy --force From 53b4e1a8e00ee24b2281e9349890f8345c6d3017 Mon Sep 17 00:00:00 2001 From: Kirill Druzhinin Date: Thu, 2 May 2024 12:09:33 +0200 Subject: [PATCH 2/3] Add CNAME --- .pre-commit-config.yaml | 1 + docs/CNAME | 1 + 2 files changed, 2 insertions(+) create mode 100644 docs/CNAME diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a704ead..e7c3c79 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,6 +5,7 @@ repos: - id: check-added-large-files - id: check-toml - id: end-of-file-fixer + exclude: docs/CNAME - id: trailing-whitespace - repo: https://github.com/charliermarsh/ruff-pre-commit rev: v0.2.2 diff --git a/docs/CNAME b/docs/CNAME new file mode 100644 index 0000000..a6912a1 --- /dev/null +++ b/docs/CNAME @@ -0,0 +1 @@ +dbt-score.picnic.tech \ No newline at end of file From 5006a16bd29b3399ce0d0793122b0df8d0630151 Mon Sep 17 00:00:00 2001 From: Kirill Druzhinin Date: Thu, 2 May 2024 12:13:55 +0200 Subject: [PATCH 3/3] Use endline --- .pre-commit-config.yaml | 1 - docs/CNAME | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e7c3c79..a704ead 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,6 @@ repos: - id: check-added-large-files - id: check-toml - id: end-of-file-fixer - exclude: docs/CNAME - id: trailing-whitespace - repo: https://github.com/charliermarsh/ruff-pre-commit rev: v0.2.2 diff --git a/docs/CNAME b/docs/CNAME index a6912a1..f11de7f 100644 --- a/docs/CNAME +++ b/docs/CNAME @@ -1 +1 @@ -dbt-score.picnic.tech \ No newline at end of file +dbt-score.picnic.tech