Skip to content

Commit

Permalink
Only copy history file if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeychernyshev committed Aug 17, 2024
1 parent 28f2e24 commit 821da48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ pages:
- echo "Deploying GitTerra page and history to GitLab Pages"
- mkdir public/
- mv index.html public/
- mv history.json public/
- |
if [[ -f history.json ]]; then
mv history.json public/
fi
artifacts:
paths:
# The folder that contains the files to be exposed at the Page URL
Expand Down

0 comments on commit 821da48

Please sign in to comment.