Skip to content

Commit

Permalink
Try to migrate to new upload scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonShevchuk committed Jun 26, 2024
1 parent f7d4906 commit 7fc5da5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,13 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './public'
- name: Verify artifact upload
run: |
if [ -z "$(ls -A ./public)" ]; then
echo "No files found in public directory, upload will fail."
exit 1
fi
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3

0 comments on commit 7fc5da5

Please sign in to comment.