From 76686e197605d26be226e71e9ba803a05fa04d2f Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Mon, 8 Jul 2024 12:14:32 -0700 Subject: [PATCH] docs: only push on master (#32935) only on master --- .github/workflows/docs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 012ee9dfde7773..cb55d2f831d76d 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -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