From 1c573a69e30e51f449cf359c54c072f0c1ccc70a Mon Sep 17 00:00:00 2001 From: Ignacio G Date: Mon, 16 Oct 2023 20:04:47 +0200 Subject: [PATCH] Fix typo on documentation workflow --- .github/workflows/docs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5d5fb00612b7..253faed637f0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -40,6 +40,7 @@ jobs: # Deployment job deploy: + if: github.ref == 'refs/heads/develop' environment: name: documentation url: "https://docs.artemis.cit.tum.de" @@ -62,7 +63,7 @@ jobs: proxy_key: ${{ secrets.PROXY_KEY }} proxy_port: ${{ secrets.PROXY_PORT }} source: "public" - target: ${{ secrets.DOCS_HOME }}} + target: ${{ secrets.DOCS_HOME }} - name: Move site to www uses: appleboy/ssh-action@master with: @@ -75,4 +76,4 @@ jobs: proxy_port: ${{ secrets.PROXY_PORT }} script: | sudo rm -rf ${{ secrets.DOCS_WWW }}/* - sudo mv -f public/* ${{ secrets.DOCS_WWW }}}/ + sudo mv -f public/* ${{ secrets.DOCS_WWW }}/