We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fa9e03 commit 775c624Copy full SHA for 775c624
1 file changed
.github/workflows/deploy.yml
@@ -37,12 +37,20 @@ jobs:
37
38
- name: Build assets
39
run: |
40
- mix assets.deploy
41
- mix phx.digest
42
- # Ensure static directory exists
+ # Create necessary directories
43
mkdir -p priv/static/images
44
- # Copy any static assets if they exist
+ mkdir -p priv/static/assets
+
+ # Copy static assets
45
+ cp -r priv/static/images/* priv/static/images/ 2>/dev/null || true
46
cp -r assets/static/* priv/static/ 2>/dev/null || true
47
48
+ # Build and digest assets
49
+ mix assets.deploy
50
+ mix phx.digest
51
52
+ # Ensure CNAME is present
53
+ echo "katibestdesign.com" > priv/static/CNAME
54
55
- name: Deploy to GitHub Pages
56
uses: peaceiris/actions-gh-pages@v3
0 commit comments