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