Skip to content

Commit

Permalink
feat: add error on no files
Browse files Browse the repository at this point in the history
  • Loading branch information
berntpopp committed Dec 20, 2023
1 parent 1835380 commit 96dcc0d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: build
path: build/
path: build
if-no-files-found: error
checkout-and-deploy:
runs-on: ubuntu-20.04
needs: bookdown
Expand All @@ -65,9 +66,9 @@ jobs:
uses: actions/download-artifact@v4
with:
# Artifact name
name: build # optional
name: build
# Destination path
path: build/ # optional
path: build
- name: Deploy to GitHub Pages
uses: Cecilapp/GitHub-Pages-deploy@v3
env:
Expand Down

0 comments on commit 96dcc0d

Please sign in to comment.