Skip to content

Commit 20fca33

Browse files
Alexandre Oliveiraclaude
andcommitted
fix(ci): resolve deploy.yml merge conflict β€” add PDF generation steps
Merges the Chromium/diagrams workflow (from remote) with the new PDF generation steps (serve β†’ wait-on β†’ gen-pdf β†’ copy to build). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 67d3c17 commit 20fca33

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

β€Ž.github/workflows/deploy.ymlβ€Ž

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,23 @@ jobs:
3939
- name: Build Docusaurus
4040
run: npx docusaurus build
4141

42+
- name: Serve site for PDF generation
43+
run: npx docusaurus serve --no-open &
44+
45+
- name: Wait for server to be ready
46+
run: npx wait-on http://localhost:3000/turing/getting-started/intro --timeout 60000
47+
48+
- name: Generate Turing documentation PDF
49+
run: npm run gen-pdf
50+
51+
- name: Copy PDF into build folder
52+
run: cp turing-documentation.pdf build/
53+
4254
- name: Upload artifact
4355
uses: actions/upload-pages-artifact@v3
4456
with:
4557
path: ./build
4658

47-
4859

4960
deploy:
5061
environment:

0 commit comments

Comments
Β (0)