|
38 | 38 | uses: actions/setup-node@v6 |
39 | 39 | with: |
40 | 40 | node-version: ${{ env.NODE_VERSION }} |
41 | | - cache: npm |
42 | | - cache-dependency-path: website/package-lock.json |
43 | | - |
44 | | - - name: Install Node dependencies |
45 | | - run: | |
46 | | - npm install |
47 | | - npm update @apify/docs-theme |
48 | | - working-directory: ./website |
49 | | - |
50 | | - # We do this as early as possible to prevent conflicts if someone else would push something in the meantime |
51 | | - - name: Commit the updated package.json and lockfile |
52 | | - run: | |
53 | | - git config user.name 'GitHub Actions' |
54 | | - git config user.email 'github-actions[bot]@users.noreply.github.com' |
55 | | - git add website/package.json |
56 | | - git add website/package-lock.json |
57 | | - git diff-index --quiet HEAD || git commit -m 'chore: Automatic docs theme update [skip ci]' || true |
58 | | - git push |
59 | 41 |
|
60 | 42 | - name: Set up Python |
61 | 43 | uses: actions/setup-python@v6 |
|
70 | 52 | - name: Install Python dependencies |
71 | 53 | run: uv run poe install-dev |
72 | 54 |
|
| 55 | + - name: Update docs theme |
| 56 | + run: uv run poe update-docs-theme |
| 57 | + |
| 58 | + - name: Commit the updated package.json and lockfile |
| 59 | + run: | |
| 60 | + git config user.name 'GitHub Actions' |
| 61 | + git config user.email 'github-actions[bot]@users.noreply.github.com' |
| 62 | + git add website/package.json |
| 63 | + git add website/yarn.lock |
| 64 | + git diff-index --quiet HEAD || git commit -m 'chore: Automatic docs theme update [skip ci]' || true |
| 65 | + git push |
| 66 | +
|
73 | 67 | - name: Build docs |
74 | 68 | run: uv run poe build-docs |
75 | 69 | env: |
|
0 commit comments