From 863d062f28542a4f729ac4f9c283f54e32f86f8e 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62cb768..d4853c4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -72,7 +72,11 @@ jobs: - name: Deploy uses: JamesIves/github-pages-deploy-action@v4 - if: ${{ github.event_name == 'push' }} + env: + DOCKER_DISTRO: ${{ secrets.DOCKER_DISTRO }} + if: | + ${{ env.DOCKER_USER == 'debian:testing' }} && + ${{ github.event_name == 'push' }} with: branch: gh-pages folder: html-report