Skip to content

Commit ae1b924

Browse files
author
Danielle Thomas
authored
Merge pull request #166 from ngrok/danielle/update-rust-docs
bug: Fix broken docs publish action
2 parents 919f366 + dd8a2c9 commit ae1b924

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/docs.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
with:
4141
name: github-pages
4242
path: ${{ runner.temp }}/artifact.tar
43-
retention-days: ${{ inputs.retention-days }}
43+
retention-days: 1
4444

4545
# Deploy job
4646
deploy:
@@ -60,6 +60,14 @@ jobs:
6060
# Specify runner + deployment step
6161
runs-on: ubuntu-latest
6262
steps:
63+
- name: Download artifact
64+
uses: actions/download-artifact@v4
65+
with:
66+
name: github-pages
67+
path: ./site
6368
- name: Deploy to GitHub Pages
6469
id: deployment
65-
uses: actions/deploy-pages@v3
70+
uses: actions/deploy-pages@v3
71+
with:
72+
artifact_name: github-pages
73+
path: ./site

0 commit comments

Comments
 (0)