docs: only push on master (#32935)

only on master
old-commit-hash: 76686e197605d26be226e71e9ba803a05fa04d2f
This commit is contained in:
Maxime Desroches
2024-07-08 12:14:32 -07:00
committed by GitHub
parent dda0de4866
commit 7173d6f86a

View File

@@ -35,13 +35,13 @@ jobs:
# Push to docs.comma.ai
- uses: actions/checkout@v4
#if: github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot'
if: github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot'
with:
path: openpilot-docs
ssh-key: ${{ secrets.OPENPILOT_DOCS_KEY }}
repository: commaai/openpilot-docs
- name: Push
#if: github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot'
if: github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot'
run: |
set -x