Skip to content

Commit 634dd12

Browse files
committed
Add more notes around retention
1 parent b8b9813 commit 634dd12

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/deploy-cran-repo.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ jobs:
3131
repo-path: "_site"
3232

3333
# Upload the CRAN repository for use in the next step
34+
# Make sure to set a retention day to avoid running into a cap
3435
- name: Upload build artifact
3536
uses: actions/upload-artifact@v3
3637
with:
3738
name: rwasmrepo
3839
path: |
3940
_site
41+
retention-days: 1
4042

4143
pkgdown:
4244
runs-on: ubuntu-latest
@@ -87,8 +89,12 @@ jobs:
8789
path: _site
8890

8991
# Upload a tar file that will work with GitHub Pages
92+
# Make sure to set a retention day to avoid running into a cap
93+
# This artifact shouldn't be required after deployment onto pages was a success.
9094
- name: Upload Pages artifact
9195
uses: actions/upload-pages-artifact@v2
96+
with:
97+
retention-days: 1
9298

9399
# Use an Action deploy to push the artifact onto GitHub Pages
94100
# This requires the `Action` tab being structured to allow for deployment

0 commit comments

Comments
 (0)