Skip to content

Commit 4fa9e03

Browse files
committed
Update workflow to handle static assets
1 parent e43e53e commit 4fa9e03

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ jobs:
3939
run: |
4040
mix assets.deploy
4141
mix phx.digest
42+
# Ensure static directory exists
43+
mkdir -p priv/static/images
44+
# Copy any static assets if they exist
45+
cp -r assets/static/* priv/static/ 2>/dev/null || true
4246
4347
- name: Deploy to GitHub Pages
4448
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)