Skip to content

Commit

Permalink
Add retention days to github artifact in deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
retiutut committed Jan 8, 2025
1 parent f078f28 commit 87b62ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,16 @@ jobs:
- name: Build website
run: npm run build
- name: List files in build directory
run: cd build && ls
run: cd build && ls && cd ..
- name: List files in website directory
run: ls

- name: Upload Build Artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: build
retention-days: 1

deploy:
name: Deploy to GitHub Pages
Expand Down

0 comments on commit 87b62ff

Please sign in to comment.