Skip to content

Commit

Permalink
ci: fix timeout when runner takes a long time to pick up the job (#34091
Browse files Browse the repository at this point in the history
)

fix
  • Loading branch information
maxime-desroches authored Nov 23, 2024
1 parent fee1f29 commit 1b921fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,30 @@ jobs:
docs:
name: build docs
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: actions/checkout@v4
timeout-minutes: 1
with:
submodules: true

# Build
- name: Build docs
timeout-minutes: 1
run: |
# TODO: can we install just the "docs" dependency group without the normal deps?
pip install mkdocs
mkdocs build
# Push to docs.comma.ai
- uses: actions/checkout@v4
timeout-minutes: 1
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
timeout-minutes: 1
if: github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot'
run: |
set -x
Expand Down

0 comments on commit 1b921fa

Please sign in to comment.