diff --git a/.github/workflows/photon-api-docs.yml b/.github/workflows/photon-api-docs.yml index b5978bb0d..1a888260a 100644 --- a/.github/workflows/photon-api-docs.yml +++ b/.github/workflows/photon-api-docs.yml @@ -3,7 +3,7 @@ name: Photon API Documentation on: # Run on pushes to main and pushed tags, and on pull requests against main, but ignore the docs folder push: - branches: [ main, py-docs ] + branches: [ main ] tags: - 'v*' pull_request: @@ -105,7 +105,7 @@ jobs: pattern: docs-* - run: find . - name: Publish Docs To Development - # if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' uses: up9cloud/action-rsync@v1.4 env: HOST: ${{ secrets.WEBMASTER_SSH_HOST }}