1 parent 2c61c8d commit 1819c6dCopy full SHA for 1819c6d
1 file changed
.github/workflows/deploy.yml
@@ -25,9 +25,10 @@ jobs:
25
run: npm ci --legacy-peer-deps
26
27
- name: Build
28
- run: npm run build -- --configuration production --base-href /movie-DB/
29
- env:
30
- TMDB_API_KEY: ${{ secrets.TMDB_API_KEY }}
+ run: npx ng build --configuration production --base-href /movie-DB/
+
+ - name: Add 404.html for SPA client-side routing
31
+ run: cp dist/app3/index.html dist/app3/404.html
32
33
- name: Deploy to gh-pages
34
uses: peaceiris/actions-gh-pages@v4
0 commit comments