Update photon-api-docs.yml

This commit is contained in:
Sam Freund
2025-04-13 14:57:00 -05:00
committed by GitHub
parent a5bc63878d
commit ffdda9ddfa

View File

@@ -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 }}
@@ -113,7 +113,7 @@ jobs:
KEY: ${{secrets.WEBMASTER_SSH_KEY}}
TARGET: /var/www/html/photonvision-docs/development
- name: Publish Docs To Release
# if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')
uses: up9cloud/action-rsync@v1.4
env:
HOST: ${{ secrets.WEBMASTER_SSH_HOST }}