Skip to content

Commit 29ab373

Browse files
committed
Fix CI
1 parent 403c0e7 commit 29ab373

File tree

1 file changed

+4
-29
lines changed

1 file changed

+4
-29
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ jobs:
9393
- name: Run clippy
9494
run: cargo clippy --workspace --tests
9595

96-
build-pdf:
97-
name: Build PDFs
96+
render:
97+
name: Render PDFs
9898
runs-on: ubuntu-latest
9999
steps:
100100
- name: Checkout
@@ -127,39 +127,14 @@ jobs:
127127
working-directory: examples/abstract-interpretation/guide
128128
run: typst compile --font-path ~/.fontist/fonts main.typ guide-ai.pdf
129129

130-
- name: Upload PDFs as artifact
131-
uses: actions/upload-artifact@v4
132-
with:
133-
name: pdf
134-
path: |
135-
docs/guide/guide-bdd.pdf
136-
examples/abstract-interpretation/guide/guide-ai.pdf
137-
138-
deploy:
139-
runs-on: ubuntu-latest
140-
needs: [build-pdf]
141-
concurrency:
142-
group: "pages"
143-
cancel-in-progress: false
144-
steps:
145-
- name: Checkout code
146-
uses: actions/checkout@v4
147-
148-
- name: Download all artifacts
149-
uses: actions/download-artifact@v5
150-
with:
151-
pattern: "*"
152-
153-
- name: Show downloaded files
154-
run: ls -R
155-
156130
- name: Prepare files for gh-pages
157131
run: |
158132
# Create public directory
159133
mkdir -p public
160134
161135
# Copy all Typst PDFs
162-
cp pdf/*.pdf public/
136+
cp docs/guide/guide-bdd.pdf public/
137+
cp examples/abstract-interpretation/guide/guide-ai.pdf public/
163138
164139
- name: Deploy
165140
uses: peaceiris/actions-gh-pages@v4

0 commit comments

Comments
 (0)