From 4e1c999e302f34d274bb456943b6a9c4439c1e4e Mon Sep 17 00:00:00 2001 From: Steven Van Ingelgem Date: Mon, 2 Oct 2023 08:45:36 +0200 Subject: [PATCH] Using `&&` instead of `and` --- .github/workflows/docs-global.yml | 2 +- .github/workflows/docs-python.yml | 6 +++--- .github/workflows/docs-rust.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs-global.yml b/.github/workflows/docs-global.yml index 8c60eda5ce77..7e030820ea91 100644 --- a/.github/workflows/docs-global.yml +++ b/.github/workflows/docs-global.yml @@ -77,7 +77,7 @@ jobs: run: touch .nojekyll - name: Deploy docs - if: ${{ github.ref_type == 'tag' and github.repository == 'pola-rs/polars' }} + if: ${{ github.ref_type == 'tag' && github.repository == 'pola-rs/polars' }} uses: JamesIves/github-pages-deploy-action@v4 with: folder: site diff --git a/.github/workflows/docs-python.yml b/.github/workflows/docs-python.yml index b3421b2c0dd9..37469b597647 100644 --- a/.github/workflows/docs-python.yml +++ b/.github/workflows/docs-python.yml @@ -44,7 +44,7 @@ jobs: run: make html - name: Deploy Python docs for latest development version - if: ${{ github.ref_name == 'main' and github.repository == 'pola-rs/polars' }} + if: ${{ github.ref_name == 'main' && github.repository == 'pola-rs/polars' }} uses: JamesIves/github-pages-deploy-action@v4 with: folder: py-polars/docs/build/html @@ -63,7 +63,7 @@ jobs: echo "version=$version" >> "$GITHUB_OUTPUT" - name: Deploy Python docs for latest release version - versioned - if: ${{ github.ref_type == 'tag' and github.repository == 'pola-rs/polars' }} + if: ${{ github.ref_type == 'tag' && github.repository == 'pola-rs/polars' }} uses: JamesIves/github-pages-deploy-action@v4 with: folder: py-polars/docs/build/html @@ -71,7 +71,7 @@ jobs: single-commit: true - name: Deploy Python docs for latest release version - stable - if: ${{ github.ref_type == 'tag' and github.repository == 'pola-rs/polars' }} + if: ${{ github.ref_type == 'tag' && github.repository == 'pola-rs/polars' }} uses: JamesIves/github-pages-deploy-action@v4 with: folder: py-polars/docs/build/html diff --git a/.github/workflows/docs-rust.yml b/.github/workflows/docs-rust.yml index a878c6cca9fa..9e71c681196a 100644 --- a/.github/workflows/docs-rust.yml +++ b/.github/workflows/docs-rust.yml @@ -42,7 +42,7 @@ jobs: touch target/doc/.nojekyll - name: Deploy Rust docs - if: ${{ github.ref_name == 'main' and github.repository == 'pola-rs/polars' }} + if: ${{ github.ref_name == 'main' && github.repository == 'pola-rs/polars' }} uses: JamesIves/github-pages-deploy-action@v4 with: folder: target/doc