docs: only push on master (#32935)

only on master
old-commit-hash: 76686e1976
pull/33029/head
Maxime Desroches 1 year ago committed by GitHub
parent dda0de4866
commit 7173d6f86a
  1. 4
      .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

Loading…
Cancel
Save