From 1e0350d2a6175f38476957fcbf7b84941a33fb02 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Mon, 5 Aug 2024 02:40:34 +0200 Subject: [PATCH] ci: only deploy with debian testing --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62cb768..429f24c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -72,7 +72,9 @@ jobs: - name: Deploy uses: JamesIves/github-pages-deploy-action@v4 - if: ${{ github.event_name == 'push' }} + env: + DOCKER_DISTRO: ${{ secrets.DOCKER_DISTRO }} + if: (${{ env.DOCKER_DISTRO == 'debian:testing' }} && ${{ github.event_name == 'push' }}) with: branch: gh-pages folder: html-report